]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/patches/fix-security.gnupg.diff
nix: re-add smartctl-tbw to the environment
[sourcephile-nix.git] / nixpkgs / patches / fix-security.gnupg.diff
1 diff --git a/nixos/modules/security/gnupg.nix b/nixos/modules/security/gnupg.nix
2 index 7ddb1fac2f5..89a16bab2e4 100644
3 --- a/nixos/modules/security/gnupg.nix
4 +++ b/nixos/modules/security/gnupg.nix
5 @@ -225,6 +225,7 @@ config = lib.mkIf (cfg.secrets != {}) {
6 description = "Install secret ${secret.path}";
7 after = lib.optional cfg.enableGpgAgent "gpg-agent.service";
8 wants = lib.optional cfg.enableGpgAgent "gpg-agent.service";
9 + wantedBy = ["multi-user.target"];
10 script = ''
11 set -o pipefail
12 set -eux