diff --git a/morph/grid.nix b/morph/grid.nix index 2c3aabec9a8bf23cda8c1225c86345036c7178e1..cae9f6f7219378a142c44089ad9d62ad29006fc6 100644 --- a/morph/grid.nix +++ b/morph/grid.nix @@ -23,5 +23,25 @@ import ./make-grid.nix { cfg = import ./storage000-config.nix; hardware = ./storage000-hardware.nix; } // cfg); + "storage001" = import ./make-storage.nix ({ + cfg = import ./storage001-config.nix; + hardware = ./storage001-hardware.nix; + } // cfg); + "storage002" = import ./make-storage.nix ({ + cfg = import ./storage002-config.nix; + hardware = ./storage002-hardware.nix; + } // cfg); + "storage003" = import ./make-storage.nix ({ + cfg = import ./storage003-config.nix; + hardware = ./storage003-hardware.nix; + } // cfg); + "storage004" = import ./make-storage.nix ({ + cfg = import ./storage004-config.nix; + hardware = ./storage004-hardware.nix; + } // cfg); + "storage005" = import ./make-storage.nix ({ + cfg = import ./storage005-config.nix; + hardware = ./storage005-hardware.nix; + } // cfg); }; } diff --git a/morph/storage001-config.nix b/morph/storage001-config.nix new file mode 100644 index 0000000000000000000000000000000000000000..2c4cd7678cc2a19713508dc0711f749e04dbec70 --- /dev/null +++ b/morph/storage001-config.nix @@ -0,0 +1,8 @@ +{ "interface" = "eno1"; + "publicIPv4" = "176.113.72.38"; + "prefixLength" = 30; + "gateway" = "176.113.72.37"; + "gatewayInterface" = "eno1"; + "grubDeviceID" = "wwn-0x5000cca25cc08d27"; + "rootPublicKey" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"; +} diff --git a/morph/storage001-hardware.nix b/morph/storage001-hardware.nix new file mode 100644 index 0000000000000000000000000000000000000000..3346ddd7a7f0eb0c8f82d2323b3801ed4d873a42 --- /dev/null +++ b/morph/storage001-hardware.nix @@ -0,0 +1,32 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/f72c1f46-6723-45bf-9ef7-92f31cc37589"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/cb3a16e1-d811-4659-be42-15e5e35cd37a"; + fsType = "ext4"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/f986a811-4912-4e9a-8bc3-01cb6926c4c6"; } + ]; + + nix.maxJobs = lib.mkDefault 24; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} diff --git a/morph/storage002-config.nix b/morph/storage002-config.nix new file mode 100644 index 0000000000000000000000000000000000000000..70e45c5e35506975e087d32689743630805e8cb7 --- /dev/null +++ b/morph/storage002-config.nix @@ -0,0 +1,8 @@ +{ "interface" = "eno1"; + "publicIPv4" = "37.120.214.110"; + "prefixLength" = 30; + "gateway" = "37.120.214.109"; + "gatewayInterface" = "eno1"; + "grubDeviceID" = "wwn-0x5000cca25dccb3dc"; + "rootPublicKey" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"; +} diff --git a/morph/storage002-hardware.nix b/morph/storage002-hardware.nix new file mode 100644 index 0000000000000000000000000000000000000000..fe2b783f7b90c799d4e090dc8293e1e30014dbcc --- /dev/null +++ b/morph/storage002-hardware.nix @@ -0,0 +1,25 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/9721366a-7f75-45b6-908a-cde68ed82295"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 24; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} diff --git a/morph/storage003-config.nix b/morph/storage003-config.nix new file mode 100644 index 0000000000000000000000000000000000000000..5c76ad1bd39218d8ba7ef6e42ee7b908434ca1f4 --- /dev/null +++ b/morph/storage003-config.nix @@ -0,0 +1,8 @@ +{ "interface" = "eno1"; + "publicIPv4" = "45.83.89.186"; + "prefixLength" = 30; + "gateway" = "45.83.89.185"; + "gatewayInterface" = "eno1"; + "grubDeviceID" = "wwn-0x5000cca248c31469"; + "rootPublicKey" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"; +} diff --git a/morph/storage003-hardware.nix b/morph/storage003-hardware.nix new file mode 100644 index 0000000000000000000000000000000000000000..f993c7c6da73954d5a2f61bd43eb87103868c574 --- /dev/null +++ b/morph/storage003-hardware.nix @@ -0,0 +1,30 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/daf0b345-97da-46bc-b9df-500d771ec375"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/a1843705-f4e9-4805-924c-19f464d23da7"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 24; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} diff --git a/morph/storage004-config.nix b/morph/storage004-config.nix new file mode 100644 index 0000000000000000000000000000000000000000..881fb41bf6c32e922cc803e29215e0c8863c3e71 --- /dev/null +++ b/morph/storage004-config.nix @@ -0,0 +1,8 @@ +{ "interface" = "eno1"; + "publicIPv4" = "87.101.93.198"; + "prefixLength" = 30; + "gateway" = "87.101.93.197"; + "gatewayInterface" = "eno1"; + "grubDeviceID" = "wwn-0x5000cca249d45533"; + "rootPublicKey" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"; +} diff --git a/morph/storage004-hardware.nix b/morph/storage004-hardware.nix new file mode 100644 index 0000000000000000000000000000000000000000..6b8d0f19ed323e59adafa3f5513e053b25ba8ee0 --- /dev/null +++ b/morph/storage004-hardware.nix @@ -0,0 +1,25 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/d628122e-05d9-4212-b6a5-4b9516d85dbe"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 32; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} diff --git a/morph/storage005-config.nix b/morph/storage005-config.nix new file mode 100644 index 0000000000000000000000000000000000000000..276f5cae4ec48d8aca92f96c2c27a5d6b640e675 --- /dev/null +++ b/morph/storage005-config.nix @@ -0,0 +1,8 @@ +{ "interface" = "eno1"; + "publicIPv4" = "193.148.18.206"; + "prefixLength" = 30; + "gateway" = "193.148.18.205"; + "gatewayInterface" = "eno1"; + "grubDeviceID" = "wwn-0x5000cca25dcc78b5"; + "rootPublicKey" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"; +} diff --git a/morph/storage005-hardware.nix b/morph/storage005-hardware.nix new file mode 100644 index 0000000000000000000000000000000000000000..2338c06ec785b20f0c35dc6cc93310d8b580dd0e --- /dev/null +++ b/morph/storage005-hardware.nix @@ -0,0 +1,32 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/29d379b9-a3e2-4efd-8ac1-d55bb5751dc2"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/C95C-B700"; + fsType = "vfat"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/4800c196-ee81-43ea-8e48-ae7e222524de"; } + ]; + + nix.maxJobs = lib.mkDefault 32; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +}