mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02:00
Launching ssh agent
This commit is contained in:
parent
5d6d8fa960
commit
2c945916f2
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,15 @@
|
||||||
|
|
||||||
hardware.video.hidpi.enable = true;
|
hardware.video.hidpi.enable = true;
|
||||||
|
|
||||||
|
programs.fish.shellInit = ''
|
||||||
|
if test -z (pgrep ssh-agent)
|
||||||
|
eval (ssh-agent -c) > /dev/null
|
||||||
|
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
|
||||||
|
set -Ux SSH_AGENT_PID $SSH_AGENT_PID
|
||||||
|
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue