mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
ssh-agent: normal users only
This commit is contained in:
parent
8b846473be
commit
0f04bbdc31
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ in
|
|||
systemd.user.services.ssh-agent = mkIf cfg.startAgent
|
||||
{ description = "SSH Agent";
|
||||
wantedBy = [ "default.target" ];
|
||||
unitConfig.ConditionUser = "!@system";
|
||||
serviceConfig =
|
||||
{ ExecStartPre = "${pkgs.coreutils}/bin/rm -f %t/ssh-agent";
|
||||
ExecStart =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue