aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/core/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/core/nix.nix')
-rw-r--r--hosts/common/core/nix.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/common/core/nix.nix b/hosts/common/core/nix.nix
index 3aac7fc..4760af0 100644
--- a/hosts/common/core/nix.nix
+++ b/hosts/common/core/nix.nix
@@ -1,4 +1,4 @@
-{ inputs, lib, ... }:
+{ inputs, lib, pkgs, ... }:
{
nix = {
gc = {
@@ -7,6 +7,7 @@
options = "--delete-older-than 7d";
randomizedDelaySec = "5min";
};
+ package = pkgs.nixVersions.latest;
settings = {
auto-optimise-store = lib.mkDefault true;
experimental-features = [ "nix-command" "flakes" ];