about summary refs log tree commit diff
path: root/nixosConfigurations/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-10-13 20:39:39 +0300
committerAzat Bahawi <azat@bahawi.net>2023-10-13 20:39:39 +0300
commit8207b0e249513feffd163d4228de685530fc665b (patch)
treec3b9e26b0b4f49873b2fc70bfc7f3b4a8a65f8bb /nixosConfigurations/default.nix
parent2023-09-30 (diff)
2023-10-13
Diffstat (limited to 'nixosConfigurations/default.nix')
-rw-r--r--nixosConfigurations/default.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/nixosConfigurations/default.nix b/nixosConfigurations/default.nix
index fe998cd..2fa32f9 100644
--- a/nixosConfigurations/default.nix
+++ b/nixosConfigurations/default.nix
@@ -34,9 +34,7 @@ with lib; let
       isHeadful = false;
     };
     configuration = ./iso;
-    modules = with inputs; [
-      "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel.nix"
-    ];
+    modules = ["${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel.nix"];
   };
 
   mkTest = this: {
@@ -48,11 +46,9 @@ with lib; let
   };
 in
   mapAttrs' mkConfiguration {
-    # ISO images.
     iso-arm = mkIso "aarch64-linux";
     iso-x86 = mkIso "x86_64-linux";
 
-    # Dummy configuration test profiles.
     test-headless = mkTest {
       hostname = "test-headless";
       system = "x86_64-linux";
@@ -66,7 +62,6 @@ in
       isHeadful = true;
     };
 
-    # A beefy desktop: 7950x/rx6750xt/128GB.
     eonwe.modules = with inputs; [
       nixos-hardware.nixosModules.common-cpu-amd
       nixos-hardware.nixosModules.common-cpu-amd-pstate
@@ -75,14 +70,12 @@ in
       nixpkgs.nixosModules.notDetected
     ];
 
-    # ThinkPad T480.
     melian.modules = with inputs; [
       nixos-hardware.nixosModules.common-pc-laptop-ssd
       nixos-hardware.nixosModules.lenovo-thinkpad-t480
       nixpkgs.nixosModules.notDetected
     ];
 
-    # VPS: Germany
     manwe.modules = with inputs; [
       "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
       nixos-hardware.nixosModules.common-cpu-amd
@@ -90,7 +83,6 @@ in
       nixpkgs.nixosModules.notDetected
     ];
 
-    # VPS: Germany
     varda.modules = with inputs; [
       "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
       nixos-hardware.nixosModules.common-cpu-amd
@@ -98,7 +90,6 @@ in
       nixpkgs.nixosModules.notDetected
     ];
 
-    # VPS: France
     yavanna.modules = with inputs; [
       "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
       nixos-hardware.nixosModules.common-cpu-intel

Consider giving Nix/NixOS a try! <3