sops: use minimal gnupg

This commit is contained in:
Sandro - 2024-05-05 14:56:13 +02:00
parent cad70cf077
commit b5b9c2c96b
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@
useHostResolvConf = lib.mkIf (!config.services.resolved.enable) true;
};
# TODO: drop when https://github.com/Mic92/sops-nix/pull/555 is merged
sops.environment.SOPS_GPG_EXEC = lib.getExe (pkgs.gnupg.override { enableMinimal = true; });
nix = {
deleteChannels = true;
deleteUserProfiles = true;