浏览代码

Start gpg agent with systemd-user

master
父节点
当前提交
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;


正在加载...
取消
保存