From f366e320dfda635192c7c6866095e0f38303965f Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Mon, 9 Sep 2024 22:04:56 +0100 Subject: [PATCH] auto allocate uids and nix update --- modules/nix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index 309f9c2..7889528 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -1,5 +1,6 @@ -{...}: { +{pkgs, ...}: { nix = { + package = pkgs.nixVersions.latest; gc = { automatic = true; dates = "weekly"; @@ -7,7 +8,9 @@ }; extraOptions = "gc-keep-outputs = true"; settings = { - experimental-features = ["nix-command" "flakes"]; + experimental-features = ["nix-command" "flakes" "auto-allocate-uids"]; + auto-optimise-store = true; + auto-allocate-uids = true; substituters = [ "https://nix-community.cachix.org"