diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-05-01 03:36:55 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-05-01 03:36:55 +0300 |
commit | 9a20404924fda2587ce4f9769f75369799f34643 (patch) | |
tree | a953941a22d6c031e67b267e35a11db72bdd25e3 /nixosConfigurations | |
parent | 2024-04-29 (diff) |
2024-05-01
Diffstat (limited to '')
-rw-r--r-- | configurations/eonwe/default.nix (renamed from nixosConfigurations/eonwe/default.nix) | 0 | ||||
-rw-r--r-- | configurations/iso/default.nix (renamed from nixosConfigurations/iso/default.nix) | 0 | ||||
-rw-r--r-- | configurations/manwe/default.nix (renamed from nixosConfigurations/manwe/default.nix) | 0 | ||||
-rw-r--r-- | configurations/manwe/mailserver/default.nix (renamed from nixosConfigurations/manwe/mailserver/default.nix) | 0 | ||||
-rw-r--r-- | configurations/manwe/webserver.nix (renamed from nixosConfigurations/manwe/webserver.nix) | 0 | ||||
-rw-r--r-- | configurations/melian/default.nix (renamed from nixosConfigurations/melian/default.nix) | 0 | ||||
-rw-r--r-- | configurations/test-headful/default.nix (renamed from nixosConfigurations/test-headful/default.nix) | 0 | ||||
-rw-r--r-- | configurations/test-headless/default.nix (renamed from nixosConfigurations/test-headless/default.nix) | 0 | ||||
-rw-r--r-- | configurations/varda/default.nix (renamed from nixosConfigurations/varda/default.nix) | 0 | ||||
-rw-r--r-- | configurations/yavanna/default.nix (renamed from nixosConfigurations/yavanna/default.nix) | 0 | ||||
-rw-r--r-- | nixosConfigurations/default.nix | 92 |
11 files changed, 0 insertions, 92 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/configurations/eonwe/default.nix index 1904cdb..1904cdb 100644 --- a/nixosConfigurations/eonwe/default.nix +++ b/configurations/eonwe/default.nix diff --git a/nixosConfigurations/iso/default.nix b/configurations/iso/default.nix index 7277e88..7277e88 100644 --- a/nixosConfigurations/iso/default.nix +++ b/configurations/iso/default.nix diff --git a/nixosConfigurations/manwe/default.nix b/configurations/manwe/default.nix index 3707440..3707440 100644 --- a/nixosConfigurations/manwe/default.nix +++ b/configurations/manwe/default.nix diff --git a/nixosConfigurations/manwe/mailserver/default.nix b/configurations/manwe/mailserver/default.nix index cc8b41d..cc8b41d 100644 --- a/nixosConfigurations/manwe/mailserver/default.nix +++ b/configurations/manwe/mailserver/default.nix diff --git a/nixosConfigurations/manwe/webserver.nix b/configurations/manwe/webserver.nix index 95a0b0b..95a0b0b 100644 --- a/nixosConfigurations/manwe/webserver.nix +++ b/configurations/manwe/webserver.nix diff --git a/nixosConfigurations/melian/default.nix b/configurations/melian/default.nix index 0805b4a..0805b4a 100644 --- a/nixosConfigurations/melian/default.nix +++ b/configurations/melian/default.nix diff --git a/nixosConfigurations/test-headful/default.nix b/configurations/test-headful/default.nix index f1da389..f1da389 100644 --- a/nixosConfigurations/test-headful/default.nix +++ b/configurations/test-headful/default.nix diff --git a/nixosConfigurations/test-headless/default.nix b/configurations/test-headless/default.nix index ef3d223..ef3d223 100644 --- a/nixosConfigurations/test-headless/default.nix +++ b/configurations/test-headless/default.nix diff --git a/nixosConfigurations/varda/default.nix b/configurations/varda/default.nix index c8ecef2..c8ecef2 100644 --- a/nixosConfigurations/varda/default.nix +++ b/configurations/varda/default.nix diff --git a/nixosConfigurations/yavanna/default.nix b/configurations/yavanna/default.nix index 2d52f53..2d52f53 100644 --- a/nixosConfigurations/yavanna/default.nix +++ b/configurations/yavanna/default.nix diff --git a/nixosConfigurations/default.nix b/nixosConfigurations/default.nix deleted file mode 100644 index b685eb7..0000000 --- a/nixosConfigurations/default.nix +++ /dev/null @@ -1,92 +0,0 @@ -inputs: -with inputs.self.lib; -let - mkConfiguration = - name: - { - modules ? [ ], - configuration ? ./${name}, - this ? my.configurations.${name}, - }: - nameValuePair name (nixosSystem { - inherit (this) system; - modules = - modules - ++ attrValues inputs.self.nixosModules - ++ optional (configuration != null) (import configuration); - specialArgs = { - inherit inputs this; - inherit (inputs.self) lib; - }; - }); - - mkTest = this: { - modules = with inputs; [ - "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" - nixpkgs.nixosModules.notDetected - ]; - inherit this; - }; -in -mapAttrs' mkConfiguration { - test-headless = mkTest { - hostname = "test-headless"; - system = "x86_64-linux"; - isHeadless = true; - isHeadful = false; - }; - test-headful = mkTest { - hostname = "test-headful"; - system = "x86_64-linux"; - isHeadless = false; - isHeadful = true; - }; - - iso = { - this = { - hostname = "iso"; - system = "x86_64-linux"; - isHeadless = false; - isHeadful = false; - }; - configuration = ./iso; - modules = [ - "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel.nix" - ]; - }; - - eonwe.modules = with inputs; [ - nixos-hardware.nixosModules.common-cpu-amd - nixos-hardware.nixosModules.common-cpu-amd-pstate - nixos-hardware.nixosModules.common-gpu-amd - nixos-hardware.nixosModules.common-pc-ssd - nixpkgs.nixosModules.notDetected - ]; - - melian.modules = with inputs; [ - nixos-hardware.nixosModules.common-pc-laptop-ssd - nixos-hardware.nixosModules.lenovo-thinkpad-t480 - nixpkgs.nixosModules.notDetected - ]; - - manwe.modules = with inputs; [ - "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" - nixos-hardware.nixosModules.common-cpu-amd - nixos-hardware.nixosModules.common-pc-ssd - nixpkgs.nixosModules.notDetected - ]; - - varda.modules = with inputs; [ - "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" - nixos-hardware.nixosModules.common-cpu-amd - nixos-hardware.nixosModules.common-pc-ssd - nixpkgs.nixosModules.notDetected - ]; - - yavanna.modules = with inputs; [ - "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" - nixos-hardware.nixosModules.common-cpu-intel - nixos-hardware.nixosModules.common-pc-hdd - nixpkgs.nixosModules.notDetected - ]; -} |