summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-29 19:25:51 +0100
committerMel <einebeere@gmail.com>2024-12-29 19:32:26 +0100
commitd3fe7a09b431c7f1849a69c26adfc08d0016540a (patch)
tree20cbcd6454cdb0bc74438095b1c54dbeead447e2 /flake.nix
parent18c168e2debe952e932e360ec3dbc9c58ad3cd3f (diff)
downloadspecimen-d3fe7a09b431c7f1849a69c26adfc08d0016540a.tar.zst
specimen-d3fe7a09b431c7f1849a69c26adfc08d0016540a.zip
Fix up empty NixOS configuration in flake
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/flake.nix b/flake.nix
index 3e72e89..528d1de 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,7 +8,7 @@
     nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
   };
 
-  outputs = { self, nixpkgs }:
+  outputs = inputs @ { self, nixpkgs }:
   let
     inherit (nixpkgs) lib;
 
@@ -31,13 +31,12 @@
       };
     });
 
-    nixosConfigurations = forAllSystems ({ system, pkgs }: {
-      ${name} = {
-        inherit system;
-        modules = [
-          ./configuration/configuration.nix
-        ];
-      };
-    });
+    nixosConfigurations.${name} = lib.nixosSystem {
+      system = "aarch64-linux";
+      specialArgs = inputs;
+      modules = [
+        ./configuration/configuration.nix
+      ];
+    };
   };
 }