diff options
Diffstat (limited to 'user/settings/nix.nix')
-rw-r--r-- | user/settings/nix.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix index b194bb42..66c00daf 100644 --- a/user/settings/nix.nix +++ b/user/settings/nix.nix @@ -1,5 +1,6 @@ { config , pkgs +, lib , ... }: let @@ -9,15 +10,17 @@ in nixpkgs.config = import ../config.nix; nix = { enable = true; - package = pkgs.nix; + # needed for "standalone" home-manager, conflicts with module + package = lib.mkDefault pkgs.nix; settings = { use-xdg-base-directories = true; }; }; home.packages = with pkgs; [ + cached-nix-shell nil - niv + npins nix-prefetch-scripts nix-init nix-update @@ -27,7 +30,6 @@ in nixpkgs-lint nixpkgs-review nix-output-monitor - cachix ]; xdg.configFile."nix-init/config.toml".source = toml.generate "config.toml" { maintainers = [ "alanpearce" ]; |