auto allocate uids and nix update

This commit is contained in:
Callum Leslie 2024-09-09 22:04:56 +01:00
parent ddcc48c006
commit f366e320df
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90

View file

@ -1,5 +1,6 @@
{...}: { {pkgs, ...}: {
nix = { nix = {
package = pkgs.nixVersions.latest;
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
@ -7,7 +8,9 @@
}; };
extraOptions = "gc-keep-outputs = true"; extraOptions = "gc-keep-outputs = true";
settings = { settings = {
experimental-features = ["nix-command" "flakes"]; experimental-features = ["nix-command" "flakes" "auto-allocate-uids"];
auto-optimise-store = true;
auto-allocate-uids = true;
substituters = [ substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"