diff options
author | ene <ene@sils.li> | 2023-02-25 15:48:46 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 15:48:46 +0100 |
commit | 77fef25f397cdce4267a7036116c4ccaae6ea1dd (patch) | |
tree | 850d12a436ddb2893c9510bffc2ca77aa35a5d68 /services/nix | |
parent | Fix(packages): Add neovim (diff) | |
download | nixos-config-77fef25f397cdce4267a7036116c4ccaae6ea1dd.tar.gz nixos-config-77fef25f397cdce4267a7036116c4ccaae6ea1dd.zip |
Fix(nix): Use the system nixpkgs version
This stops nix from downloading the newest one, every time I use `nix shell`
Diffstat (limited to '')
-rw-r--r-- | services/nix/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/nix/default.nix b/services/nix/default.nix index 27f9b170..b0720788 100644 --- a/services/nix/default.nix +++ b/services/nix/default.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + inputs, ... }: { nix = { @@ -17,6 +18,10 @@ keep-failed = true; #keep failed tmp build dirs pure-eval = true; # restrict file system and network access to hash + + # Flakes settings + package = pkgs.nixVersions.stable; + registry.nixpkgs.flake = inputs.nixpkgs; }; }; } |