From d3fe7a09b431c7f1849a69c26adfc08d0016540a Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 29 Dec 2024 19:25:51 +0100 Subject: Fix up empty NixOS configuration in flake Signed-off-by: Mel --- flake.nix | 17 ++++++++--------- 1 file 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 + ]; + }; }; } -- cgit 1.4.1