about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/profiles/base/default.nix4
-rw-r--r--lib/mk_home.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 4f26819..2e7fee1 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, self, ... }:
+{ config, lib, inputs, pkgs, self, ... }:
 let
   cfg = config.profiles.base;
 
@@ -58,7 +58,7 @@ in
         bright7 = "e4e4db";
       };
 
-      wallpaper = "${self.inputs.wallpapers}/nixos/nix-glow-fg-d4ae80.png";
+      wallpaper = "${inputs.wallpapers}/nixos/nix-glow-fg-d4ae80.png";
     };
 
     home.keyboard.layout = "us";
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;