From fa711b0d77b6b59b713664aa6fa91ac887bf21fd Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sun, 28 Jan 2024 16:48:53 +0100 Subject: [PATCH] flake: add system to arguments --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 56103b3..238e44c 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,7 @@ system = "x86_64-linux"; modules = [ {_module.args = inputs;} + {_module.args.system = system;} {nix.registry.nixpkgs.flake = nixpkgs;} ./common/packages.nix ./common/suspend.nix @@ -108,6 +109,7 @@ system = "x86_64-linux"; modules = [ {_module.args = inputs;} + {_module.args.system = system;} {nix.registry.nixpkgs.flake = nixpkgs;} ./common/packages.nix ./common/suspend.nix @@ -141,6 +143,7 @@ system = "x86_64-linux"; modules = [ {_module.args = inputs;} + {_module.args.system = system;} {nix.registry.nixpkgs.flake = nixpkgs;} ./blue/configuration.nix ./blue/hardware-configuration.nix @@ -158,6 +161,7 @@ system = "arm64-linux"; modules = [ {_module.args = inputs;} + {_module.args.system = system;} {nix.registry.nixpkgs.flake = nixpkgs;} ./magpie/configuration.nix ./magpie/hardware-configuration.nix