Add nix configuration
Make wheel group trusted users in preparation for colmena.
This commit is contained in:
parent
4193e65a04
commit
10702979f1
2 changed files with 17 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
./default-host-platform.nix
|
||||
./default-state-version.nix
|
||||
./localization.nix
|
||||
./nix.nix
|
||||
./ssh.nix
|
||||
./users.nix
|
||||
];
|
||||
|
|
16
config/common/nix.nix
Normal file
16
config/common/nix.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [ "@wheel" ];
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue