Correctly pass home-manager.extraSpecialArgs

This commit is contained in:
Artemis Tosini 2021-11-21 19:11:45 +00:00
parent 2824907ab6
commit edc21e7212
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 4 additions and 2 deletions

View file

@ -25,6 +25,9 @@
defaultModules = [ defaultModules = [
private.nixosModules.base private.nixosModules.base
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs.inputs = inputs;
}
]; ];
makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate
{ {

View file

@ -1,4 +1,4 @@
{ inputs, ... }: { ... }:
{ {
home-manager = { home-manager = {
@ -6,7 +6,6 @@
useGlobalPkgs = true; useGlobalPkgs = true;
}; };
home-manager.users.artemis = { home-manager.users.artemis = {
extraSpecialArgs.inputs = inputs;
imports = [ imports = [
./git.nix ./git.nix
./mpv.nix ./mpv.nix