aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+ ];
+ };
};
}