about summary refs log tree commit diff
path: root/nix/mkHomeManagerConfiguration.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nix/mkHomeManagerConfiguration.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/nix/mkHomeManagerConfiguration.nix b/nix/mkHomeManagerConfiguration.nix
index bcf374a..70e875d 100644
--- a/nix/mkHomeManagerConfiguration.nix
+++ b/nix/mkHomeManagerConfiguration.nix
@@ -3,9 +3,11 @@ inputs@{ self, ... }:
 , username ? "fcuny"
 , hostname
 , stateVersion ? "22.05"
-, extraModules ? [ ]
 ,
 }:
+let
+  naersk = inputs.naersk.lib."${system}";
+in
 inputs.home-manager.lib.homeManagerConfiguration {
   inherit system;
   inherit username;
@@ -19,8 +21,12 @@ inputs.home-manager.lib.homeManagerConfiguration {
     overlays = [
       inputs.emacs-overlay.overlay
       inputs.nur.overlay
+      inputs.naersk.overlay
       inputs.rust.overlays.default
-      (final: prev: { tools = import "${self}/tools" { pkgs = prev; }; })
+      (final: prev:
+        {
+          tools = import "${self}/tools" { pkgs = prev; inherit naersk; };
+        })
     ];
   };
   configuration.imports =