aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/core/nix.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2026-02-06 09:17:13 -0800
committerMark Nipper <nipsy@bitgnome.net>2026-02-06 09:17:13 -0800
commit27f5094658d8c68e84cd9de642073d97e2ed570e (patch)
treefbd0414aa510dd3c3248ea4dc294539ba818de03 /hosts/common/core/nix.nix
parent363c3b5d0f78404e81493c4f212e939b4ea33b89 (diff)
downloadnix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar.gz
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar.bz2
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar.lz
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar.xz
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.tar.zst
nix-27f5094658d8c68e84cd9de642073d97e2ed570e.zip
Bump nix to latest version
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" ];