From edc21e721299f5dee328193af11ed0d34be297a5 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 21 Nov 2021 19:11:45 +0000 Subject: [PATCH] Correctly pass home-manager.extraSpecialArgs --- flake.nix | 3 +++ home/default.nix | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f0b0562..4df53dc 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,9 @@ defaultModules = [ private.nixosModules.base home-manager.nixosModules.home-manager + { + home-manager.extraSpecialArgs.inputs = inputs; + } ]; makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate { diff --git a/home/default.nix b/home/default.nix index 95bdbdc..a7552da 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ ... }: { home-manager = { @@ -6,7 +6,6 @@ useGlobalPkgs = true; }; home-manager.users.artemis = { - extraSpecialArgs.inputs = inputs; imports = [ ./git.nix ./mpv.nix