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;
nix.gc = { trusted-public-keys = nixConfig.extra-trusted-public-keys;
automatic = true; };
dates = "04:00"; optimise.automatic = true;
options = "--delete-older-than 30d"; gc = {
}; automatic = true;
dates = "04:00";
nix.settings = { options = "--delete-older-than 30d";
trusted-users = [ "@wheel" ]; };
substituters = nixConfig.extra-substituters;
trusted-public-keys = nixConfig.extra-trusted-public-keys;
}; };
system.autoUpgrade = { system.autoUpgrade = {