diff options
author | sefidel <contact@sefidel.net> | 2022-01-18 20:52:11 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-18 20:52:11 +0900 |
commit | d194c1198cd3d80bb50610365c281d9b78f75900 (patch) | |
tree | c3e6d18fb75028f429ba6d349ffe6f68a5255aaa /lib | |
parent | 02179ec651ee7891b4838a7ffa4238ad5fd9668b (diff) | |
download | nixrc-d194c1198cd3d80bb50610365c281d9b78f75900.tar.gz nixrc-d194c1198cd3d80bb50610365c281d9b78f75900.zip |
lib/mk_home: pass inputs and self
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mk_home.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mk_home.nix b/lib/mk_home.nix index 24ea7f1..a83194a 100644 --- a/lib/mk_home.nix +++ b/lib/mk_home.nix @@ -2,7 +2,6 @@ { username, hostname, system, pkgs, version, extraModules }: let - args = inputs; entrypoint = "${self}/home/${hostname}/${username}.nix"; in home-manager.lib.homeManagerConfiguration { @@ -12,7 +11,8 @@ home-manager.lib.homeManagerConfiguration { pkgs = pkgs; configuration = { lib, ... }: { - _module = { inherit args; }; + _module.args.inputs = self.inputs; + _module.args.self = self; profiles.base.enable = true; |