diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 7227ac4277e7..0220a052fdff 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -808,7 +808,7 @@ in systemd.targets.remote-fs.unitConfig.X-StopOnReconfiguration = true; systemd.services.systemd-importd = lib.mkIf cfg.package.withImportd { environment = proxy_env; - path = [ pkgs.gnupg ]; + path = [ pkgs.gnupgMinimal ]; }; systemd.services.systemd-pstore.wantedBy = [ "sysinit.target" ]; # see #81138 diff --git a/nixos/modules/system/boot/systemd/sysupdate.nix b/nixos/modules/system/boot/systemd/sysupdate.nix index 3fa8dc212ea2..91a165d7d5ab 100644 --- a/nixos/modules/system/boot/systemd/sysupdate.nix +++ b/nixos/modules/system/boot/systemd/sysupdate.nix @@ -138,7 +138,7 @@ in systemd.services.systemd-sysupdated = { aliases = [ "dbus-org.freedesktop.sysupdate1.service" ]; - path = [ pkgs.gnupg ]; + path = [ pkgs.gnupgMinimal ]; }; systemd.timers = {