@cryptotaxi247 / infra-1 / commits / 845f1731

Macs: update their configs with bootstrap confcig.nix

Graham Christensen committed Sep 28, 2019 at 21:20 UTC 845f17315da1c1b981c1e40a376a9f65e9fb6782
7 files changed +41 -49
macs/nodes/mac2.nix
+6 -7
@@ -22,13 +22,12 @@
22 fsType = "zfs";
23 };
24
25 - fileSystems."/boot" =
26 - { device = "/dev/disk/by-uuid/8534-A160";
27 - fsType = "vfat";
28 - };
29 -
30 - swapDevices = [ ];
31 -
25 nix.maxJobs = lib.mkDefault 4;
26 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
27 +
28 + boot.supportedFilesystems = [ "zfs" ];
29 + networking.hostId = "dbcdda15";
30 + nixpkgs.config.allowUnfree = true;
31 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
32 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
33 }
macs/nodes/mac3.nix
+5 -7
@@ -22,13 +22,11 @@
22 fsType = "zfs";
23 };
24
25 - fileSystems."/boot" =
26 - { device = "/dev/disk/by-uuid/4AA9-36D1";
27 - fsType = "vfat";
28 - };
29 -
30 - swapDevices = [ ];
31 -
25 nix.maxJobs = lib.mkDefault 4;
26 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
27 + boot.supportedFilesystems = [ "zfs" ];
28 + networking.hostId = "4a2399ac";
29 + nixpkgs.config.allowUnfree = true;
30 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
31 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
32 }
macs/nodes/mac4.nix
+6 -7
@@ -22,13 +22,12 @@
22 fsType = "zfs";
23 };
24
25 - fileSystems."/boot" =
26 - { device = "/dev/disk/by-uuid/BB3A-8582";
27 - fsType = "vfat";
28 - };
29 -
30 - swapDevices = [ ];
31 -
25 nix.maxJobs = lib.mkDefault 4;
26 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
27 +
28 + boot.supportedFilesystems = [ "zfs" ];
29 + networking.hostId = "cc4f7a7f";
30 + nixpkgs.config.allowUnfree = true;
31 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
32 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
33 }
macs/nodes/mac5.nix
+6 -7
@@ -22,13 +22,12 @@
22 fsType = "zfs";
23 };
24
25 - fileSystems."/boot" =
26 - { device = "/dev/disk/by-uuid/4395-C1C2";
27 - fsType = "vfat";
28 - };
29 -
30 - swapDevices = [ ];
31 -
25 nix.maxJobs = lib.mkDefault 4;
26 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
27 +
28 + boot.supportedFilesystems = [ "zfs" ];
29 + networking.hostId = "37854b05";
30 + nixpkgs.config.allowUnfree = true;
31 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
32 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
33 }
macs/nodes/mac6.nix
+6 -7
@@ -21,13 +21,12 @@
21 fsType = "zfs";
22 };
23
24 - fileSystems."/boot" =
25 - { device = "/dev/disk/by-uuid/9A50-4381";
26 - fsType = "vfat";
27 - };
28 -
29 - swapDevices = [ ];
30 -
24 nix.maxJobs = lib.mkDefault 4;
25 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
26 +
27 + boot.supportedFilesystems = [ "zfs" ];
28 + networking.hostId = "a38b8b7b";
29 + nixpkgs.config.allowUnfree = true;
30 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
31 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
32 }
macs/nodes/mac7.nix
+6 -7
@@ -21,13 +21,12 @@
21 fsType = "zfs";
22 };
23
24 - fileSystems."/boot" =
25 - { device = "/dev/disk/by-uuid/D597-B4E6";
26 - fsType = "vfat";
27 - };
28 -
29 - swapDevices = [ ];
30 -
24 nix.maxJobs = lib.mkDefault 4;
25 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
26 +
27 + boot.supportedFilesystems = [ "zfs" ];
28 + networking.hostId = "83507827";
29 + nixpkgs.config.allowUnfree = true;
30 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
31 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
32 }
macs/nodes/mac8.nix
+6 -7
@@ -22,13 +22,12 @@
22 fsType = "zfs";
23 };
24
25 - fileSystems."/boot" =
26 - { device = "/dev/disk/by-uuid/0C38-6740";
27 - fsType = "vfat";
28 - };
29 -
30 - swapDevices = [ ];
31 -
25 nix.maxJobs = lib.mkDefault 4;
26 #powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
27 +
28 + boot.supportedFilesystems = [ "zfs" ];
29 + networking.hostId = "dcc9599b";
30 + nixpkgs.config.allowUnfree = true;
31 + fileSystems."/boot".device = lib.mkOverride 0 "/dev/disk/by-label/boot";
32 + swapDevices = lib.mkOverride 0 [ { device = "/dev/disk/by-label/swap"; } ];
33 }