hosts: change to new nas
This commit is contained in:
parent
39e241cffa
commit
192f2a7e06
@ -59,18 +59,6 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/Herkules" =
|
|
||||||
{ device = "truenas:/mnt/Herkules";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/mnt/Nova" =
|
|
||||||
{ device = "truenas:/mnt/Nova";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/mnt/Pluto" =
|
fileSystems."/mnt/Pluto" =
|
||||||
{ device = "nas:/Pluto";
|
{ device = "nas:/Pluto";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
|
@ -74,18 +74,24 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/Herkules" =
|
fileSystems."/mnt/Pluto" =
|
||||||
{ device = "truenas:/mnt/Herkules";
|
{ device = "nas:/Pluto";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/Nova" =
|
fileSystems."/mnt/Mars" =
|
||||||
{ device = "truenas:/mnt/Nova";
|
{ device = "nas:/Mars";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# fileSystems."/mnt/Pluto" =
|
||||||
|
# { device = "nas:/Pluto/nix";
|
||||||
|
# fsType = "nfs";
|
||||||
|
# options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2,local_lock=all" ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
@ -96,19 +96,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
fileSystems."/mnt/Herkules" =
|
|
||||||
{ device = "truenas:/mnt/Herkules";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/mnt/Nova" =
|
|
||||||
{ device = "truenas:/mnt/Nova";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@ -144,8 +131,8 @@
|
|||||||
cpuFreqGovernor = lib.mkDefault "powersave";
|
cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
powertop.enable = true;
|
powertop.enable = true;
|
||||||
powerUpCommands = ''
|
powerUpCommands = ''
|
||||||
${pkgs.hdparm}/sbin/hdparm -B 127 -S 120 /dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088
|
${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088
|
||||||
${pkgs.hdparm}/sbin/hdparm -B 127 -S 120 /dev/disk/by-uuid/b9edc489-ac37-4b28-981d-442722df7ae2
|
${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/b9edc489-ac37-4b28-981d-442722df7ae2
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user