hosts: desktop: make gpg keys work again
This commit is contained in:
parent
015f316640
commit
9d3d9d9a16
@ -150,7 +150,7 @@
|
|||||||
};
|
};
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
yubikey-agent.enable = true;
|
yubikey-agent.enable = true;
|
||||||
udev.packages = [ pkgs.yubikey-personalization ];
|
udev.packages = [ pkgs.yubikey-personalization pkgs.nitrokey-udev-rules ];
|
||||||
#flatpak.enable = true; # download flatpak file from website - sudo flatpak install <path> - reboot if not showing up
|
#flatpak.enable = true; # download flatpak file from website - sudo flatpak install <path> - reboot if not showing up
|
||||||
# sudo flatpak uninstall --delete-data <app-id> (> flatpak list --app) - flatpak uninstall --unused
|
# sudo flatpak uninstall --delete-data <app-id> (> flatpak list --app) - flatpak uninstall --unused
|
||||||
# List:
|
# List:
|
||||||
|
@ -44,9 +44,9 @@
|
|||||||
# enable = false;
|
# enable = false;
|
||||||
# extraBackends = [ pkgs.sane-airscan ];
|
# extraBackends = [ pkgs.sane-airscan ];
|
||||||
# };
|
# };
|
||||||
hardware = {
|
# hardware = {
|
||||||
nitrokey.enable = true;
|
# nitrokey.enable = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
# environment = {
|
# environment = {
|
||||||
# systemPackages = with pkgs; [
|
# systemPackages = with pkgs; [
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
initExtra = '' # Zsh theme
|
initExtra = '' # Zsh theme
|
||||||
#export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
#gpg-connect-agent updatestartuptty /bye >/dev/null
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
#unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
#export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||||
# Spaceship
|
# Spaceship
|
||||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
|
Loading…
Reference in New Issue
Block a user