first attempt at nas rtorrent service

inspired by 7cf0d801d0
and also by https://www.krank.se/2014/06/25/rtorrent-magic-moving-finished-torrents-based-on-labels/
This commit is contained in:
Haak Saxberg 2022-08-10 21:08:10 -07:00
parent c5aa3bdcf4
commit 0eebe6f973
5 changed files with 63 additions and 17 deletions

View file

@ -26,11 +26,6 @@
fsType = "vfat";
};
fileSystems."/storage" = {
device = "192.168.1.168:/storage";
fsType = "nfs";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; }];

View file

@ -10,6 +10,12 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
../common/users.nix
(import ../../home/programs/rtorrent {
pkgs = pkgs;
downloadDir = "/storage/temp";
finalDir = "/storage";
watchDir = "/storage/torrents";
})
];
# Bootloader.