summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-31 04:23:37 +0200
committerAlan Pearce2024-05-31 04:23:57 +0200
commitd89461815a2ec85e2380f56598820b85aa440063 (patch)
treebf9502305dd5dae60a76178250d1d3c54f22031e
parentd445e4f6448c1ea95ce7f7661c948e6c1863fbed (diff)
downloadnixfiles-d89461815a2ec85e2380f56598820b85aa440063.tar.lz
nixfiles-d89461815a2ec85e2380f56598820b85aa440063.tar.zst
nixfiles-d89461815a2ec85e2380f56598820b85aa440063.zip
nix: re-enable home-manager standalone evaluation
-rw-r--r--user/settings/nix.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix
index faadf772..b3109c08 100644
--- a/user/settings/nix.nix
+++ b/user/settings/nix.nix
@@ -1,5 +1,6 @@
 { config
 , pkgs
+, lib
 , ...
 }:
 let
@@ -9,6 +10,8 @@ in
   nixpkgs.config = import ../config.nix;
   nix = {
     enable = true;
+    # needed for "standalone" home-manager, conflicts with module
+    package = lib.mkDefault pkgs.nix;
     settings = {
       use-xdg-base-directories = true;
     };