refactor(nix): simplify config

This commit is contained in:
Felix Schröter 2025-07-21 14:08:52 +02:00
parent 62b6d12d3e
commit 3b3b005fe1
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -18,20 +18,18 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.optimise = { nix = {
automatic = true; settings = {
trusted-users = [ "@wheel" ];
substituters = nixConfig.extra-substituters;
trusted-public-keys = nixConfig.extra-trusted-public-keys;
}; };
optimise.automatic = true;
nix.gc = { gc = {
automatic = true; automatic = true;
dates = "04:00"; dates = "04:00";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
nix.settings = {
trusted-users = [ "@wheel" ];
substituters = nixConfig.extra-substituters;
trusted-public-keys = nixConfig.extra-trusted-public-keys;
}; };
system.autoUpgrade = { system.autoUpgrade = {