From e6d0e73a635b32c97d9e424070a85037beeb24bc Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 31 Mar 2024 22:34:21 +0300 Subject: [PATCH] Flake : Collapse specialArgs. --- flake.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 651377f6..71474f5a 100644 --- a/flake.nix +++ b/flake.nix @@ -147,9 +147,11 @@ home-manager.nixosModules.home-manager ] ++ modules; - specialArgs.const = self.nixosModules.const; - specialArgs.flake = self; - specialArgs.inputs = inputs; + specialArgs = { + const = self.nixosModules.const; + flake = self; + inputs = inputs; + }; }; # List of all hosts bellow. @@ -257,9 +259,11 @@ { system.stateVersion = inputs.self.nixosModules.const.droidStateVersion; } ./module/NixOnDroid.nix ]; - extraSpecialArgs.const = self.nixosModules.const; - extraSpecialArgs.flake = self; - extraSpecialArgs.inputs = inputs; + extraSpecialArgs = { + const = self.nixosModules.const; + flake = self; + inputs = inputs; + }; }; }; }