flake: add system to arguments

This commit is contained in:
Asmir A 2024-01-28 16:48:53 +01:00
parent d30413ece7
commit fa711b0d77
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -76,6 +76,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
{_module.args = inputs;} {_module.args = inputs;}
{_module.args.system = system;}
{nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./common/packages.nix ./common/packages.nix
./common/suspend.nix ./common/suspend.nix
@ -108,6 +109,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
{_module.args = inputs;} {_module.args = inputs;}
{_module.args.system = system;}
{nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./common/packages.nix ./common/packages.nix
./common/suspend.nix ./common/suspend.nix
@ -141,6 +143,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
{_module.args = inputs;} {_module.args = inputs;}
{_module.args.system = system;}
{nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./blue/configuration.nix ./blue/configuration.nix
./blue/hardware-configuration.nix ./blue/hardware-configuration.nix
@ -158,6 +161,7 @@
system = "arm64-linux"; system = "arm64-linux";
modules = [ modules = [
{_module.args = inputs;} {_module.args = inputs;}
{_module.args.system = system;}
{nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./magpie/configuration.nix ./magpie/configuration.nix
./magpie/hardware-configuration.nix ./magpie/hardware-configuration.nix