瀏覽代碼

Start gpg agent with systemd-user

master
Yorick van Pelt 2 年之前
父節點
當前提交
89815b8981
簽署人: yorick <yorick@yorickvanpelt.nl> GPG 金鑰 ID: D8D3CC6D951384DE
共有 1 個檔案被更改,包括 6 行新增5 行删除
  1. +6
    -5
      roles/workstation.nix

+ 6
- 5
roles/workstation.nix 查看文件

@@ -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;


Loading…
取消
儲存