Flake : Collapse specialArgs.

This commit is contained in:
Dmitry Voronin 2024-03-31 22:34:21 +03:00
parent 32be87f07d
commit e6d0e73a63

View file

@ -147,9 +147,11 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
] ++ modules; ] ++ modules;
specialArgs.const = self.nixosModules.const; specialArgs = {
specialArgs.flake = self; const = self.nixosModules.const;
specialArgs.inputs = inputs; flake = self;
inputs = inputs;
};
}; };
# List of all hosts bellow. # List of all hosts bellow.
@ -257,9 +259,11 @@
{ system.stateVersion = inputs.self.nixosModules.const.droidStateVersion; } { system.stateVersion = inputs.self.nixosModules.const.droidStateVersion; }
./module/NixOnDroid.nix ./module/NixOnDroid.nix
]; ];
extraSpecialArgs.const = self.nixosModules.const; extraSpecialArgs = {
extraSpecialArgs.flake = self; const = self.nixosModules.const;
extraSpecialArgs.inputs = inputs; flake = self;
inputs = inputs;
};
}; };
}; };
} }