diff --git a/modules/home-manager/sops.nix b/modules/home-manager/sops.nix index 850f1c7..72c8c82 100644 --- a/modules/home-manager/sops.nix +++ b/modules/home-manager/sops.nix @@ -260,7 +260,7 @@ in { Type = "oneshot"; ExecStart = script; }; - Environment = builtins.concatStringsSep " " (lib.mapAttrsToList (name: value: "'${name}=${value}'") cfg.environment); + Environment = cfg.environment; Install.WantedBy = if cfg.gnupg.home != null then [ "graphical-session-pre.target" ] else [ "default.target" ]; };