Pārlūkot izejas kodu

Start gpg agent with systemd-user

master
Yorick van Pelt pirms 2 gadiem
vecāks
revīzija
89815b8981
Parakstījis: yorick <yorick@yorickvanpelt.nl> GPG atslēgas ID: D8D3CC6D951384DE
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. +6
    -5
      roles/workstation.nix

+ 6
- 5
roles/workstation.nix Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt