update nix settings

This commit is contained in:
Ivan Bushchik 2023-07-16 19:02:49 +03:00
parent 4d57da3cf7
commit 21e8a7fa65
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D

View file

@ -7,6 +7,15 @@
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "@wheel" ];
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
environment.systemPackages = with pkgs; [