This commit is contained in:
parent
4ed9ba0d24
commit
a90630ecb6
98 changed files with 2063 additions and 729 deletions
23
nixos/hosts/media/storage.nix
Normal file
23
nixos/hosts/media/storage.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
boot.supportedFilesystems = ["nfs"];
|
||||
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
fileSystems."/data/media/library/shows" = {
|
||||
device = "192.168.1.226:/volume1/Media/TV Shows";
|
||||
fsType = "nfs4";
|
||||
options = ["x-systemd.automount" "noatime" "_netdev"];
|
||||
};
|
||||
|
||||
fileSystems."/data/media/library/movies" = {
|
||||
device = "192.168.1.226:/volume1/Media/Movies";
|
||||
fsType = "nfs4";
|
||||
options = ["x-systemd.automount" "noatime" "_netdev"];
|
||||
};
|
||||
|
||||
fileSystems."/data/media/torrents" = {
|
||||
device = "192.168.1.226:/volume1/data/torrents";
|
||||
fsType = "nfs4";
|
||||
options = ["x-systemd.automount" "noatime" "_netdev"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue