refactor(nix): simplify config
This commit is contained in:
parent
62b6d12d3e
commit
3b3b005fe1
1 changed files with 12 additions and 14 deletions
|
@ -18,20 +18,18 @@ in
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "04:00";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = [ "@wheel" ];
|
||||
substituters = nixConfig.extra-substituters;
|
||||
trusted-public-keys = nixConfig.extra-trusted-public-keys;
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [ "@wheel" ];
|
||||
substituters = nixConfig.extra-substituters;
|
||||
trusted-public-keys = nixConfig.extra-trusted-public-keys;
|
||||
};
|
||||
optimise.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "04:00";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue