Kaynağa Gözat

Start gpg agent with systemd-user

master
Yorick van Pelt 2 yıl önce
ebeveyn
işleme
89815b8981
İmzalayan: yorick <yorick@yorickvanpelt.nl> GPG Anahtar Kimliği: D8D3CC6D951384DE
1 değiştirilmiş dosya ile 6 ekleme ve 5 silme
  1. +6
    -5
      roles/workstation.nix

+ 6
- 5
roles/workstation.nix Dosyayı Görüntüle

@@ -18,11 +18,12 @@
drivers = [ pkgs.gutenprint ];
};
environment.systemPackages = [pkgs.ghostscript pkgs.yubikey-manager];
services.xserver.displayManager.sessionCommands = ''
gpg-connect-agent /bye
unset SSH_AGENT_PID
export SSH_AUTH_SOCK="''${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
'';
nix.gc.automatic = pkgs.lib.mkOverride 30 false;
#services.xserver.displayManager.sessionCommands = ''
# gpg-connect-agent /bye
# unset SSH_AGENT_PID
# export SSH_AUTH_SOCK="''${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
#'';
virtualisation.virtualbox.host.enable = true;
yorick.support32bit = true;
nix.gc.automatic = pkgs.lib.mkOverride 30 false;


Yükleniyor…
İptal
Kaydet