Skip to content

Commit

Permalink
Automount /var/lib/deluge before deluged
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Dec 20, 2023
1 parent 61bfc9f commit e202c2a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions machines/gfdesk/deluge.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@

networking.firewall.allowedTCPPorts = [ config.services.deluge.web.port ];

fileSystems."/var/lib/deluge" = {
device = "dpool/torrent";
fsType = "zfs";
};

systemd.services.deluged.requires = [ "var-lib-deluge.mount" ];

users.groups."deluge".members = [ "astrid" ];
}

0 comments on commit e202c2a

Please sign in to comment.