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;
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 = {