hosts: nas: move Mars to Jupiter
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
subvolume = {
|
||||
"@" = {};
|
||||
"@home" = {};
|
||||
# "@nas/home" = {};
|
||||
"@nas/Home" = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -132,12 +132,12 @@
|
||||
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvolid=5,discard=async" ];
|
||||
};
|
||||
|
||||
# fileSystems."/mnt/snapshots/Mars" =
|
||||
# { device = "/dev/disk/by-label/NIXROOT";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvolid=5,discard=async" ];
|
||||
# };
|
||||
#
|
||||
fileSystems."/mnt/snapshots/Mars" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvolid=5,discard=async" ];
|
||||
};
|
||||
|
||||
# fileSystems."/mnt/snapshots/Pluto" =
|
||||
# { device = "/dev/disk/by-label/NAS-RAID";
|
||||
# fsType = "btrfs";
|
||||
@@ -150,11 +150,11 @@
|
||||
# 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."/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";
|
||||
@@ -165,11 +165,11 @@
|
||||
# { device = "/mnt/Pluto";
|
||||
# options = [ "bind" ];
|
||||
# };
|
||||
#
|
||||
# fileSystems."/export/Mars" =
|
||||
# { device = "/mnt/Mars";
|
||||
# options = [ "bind" ];
|
||||
# };
|
||||
|
||||
fileSystems."/export/Mars" =
|
||||
{ device = "/mnt/Mars";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
@@ -239,7 +239,8 @@
|
||||
powerManagement = {
|
||||
cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
powertop.enable = true;
|
||||
# powerUpCommands = ''
|
||||
scsiLinkPolicy = "med_power_with_dipm";
|
||||
# powerUpCommands = ''
|
||||
# ${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088
|
||||
# ${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/b9edc489-ac37-4b28-981d-442722df7ae2
|
||||
# '';
|
||||
|
||||
Reference in New Issue
Block a user