mirror of
https://github.com/ivabus/nixos
synced 2024-11-24 17:35:07 +03:00
update nix settings
This commit is contained in:
parent
4d57da3cf7
commit
21e8a7fa65
1 changed files with 9 additions and 0 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue