all repos — nixfiles @ d89461815a2ec85e2380f56598820b85aa440063

System and user configuration, managed by nix and home-manager

nix: re-enable home-manager standalone evaluation
Alan Pearce alan@alanpearce.eu
Fri, 31 May 2024 04:23:37 +0200
commit

d89461815a2ec85e2380f56598820b85aa440063

parent

d445e4f6448c1ea95ce7f7661c948e6c1863fbed

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/nix.nixuser/settings/nix.nix
@@ -1,5 +1,6 @@ { config
 , pkgs
+, lib
 , ...
 }:
 let
@@ -9,6 +10,8 @@ {   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;
     };