about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-18 20:52:11 +0900
committersefidel <contact@sefidel.net>2022-01-18 20:52:11 +0900
commitd194c1198cd3d80bb50610365c281d9b78f75900 (patch)
treec3e6d18fb75028f429ba6d349ffe6f68a5255aaa /lib
parent02179ec651ee7891b4838a7ffa4238ad5fd9668b (diff)
downloadnixrc-d194c1198cd3d80bb50610365c281d9b78f75900.tar.gz
nixrc-d194c1198cd3d80bb50610365c281d9b78f75900.zip
lib/mk_home: pass inputs and self
Diffstat (limited to 'lib')
-rw-r--r--lib/mk_home.nix4
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;