services: add new nas nfs share
This commit is contained in:
@@ -54,11 +54,34 @@
|
||||
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@nix,discard=async" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/Pluto" =
|
||||
{ device = "/dev/disk/by-label/NAS-RAID";
|
||||
fsType = "btrfs";
|
||||
options = [ "compress=zstd,space_cache=v2,noatime,subvol=@" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/Mars" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@nas,discard=async" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-label/NIXBOOT";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/export/Pluto" =
|
||||
{ device = "/mnt/Pluto";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/export/Mars" =
|
||||
{ device = "/mnt/Mars";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
|
||||
fileSystems."/mnt/Herkules" =
|
||||
{ device = "truenas:/mnt/Herkules";
|
||||
fsType = "nfs";
|
||||
@@ -77,7 +100,7 @@
|
||||
networking = {
|
||||
useDHCP = false; # Deprecated
|
||||
hostName = "nas";
|
||||
domain = "kabtop.de";
|
||||
domain = "home.opel-online.de";
|
||||
networkmanager = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user