Desktop: start ssh-agent on login

This commit is contained in:
Toast 2023-07-04 08:46:05 +02:00
parent ade2927e8b
commit b202fe478d
2 changed files with 11 additions and 1 deletions

View file

@ -2,6 +2,6 @@
{ {
imports = [ imports = [
./ssh-agent.nix
]; ];
} }

View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
programs.ssh.startAgent = true;
/*
Home assistant added an option that does this
https://github.com/nix-community/home-manager/commit/2d9210f25ed18d5d4e11e6b886de4027c0c51a94
but since I still need to fix home-manager's envvars not applying I'll stick to the NixOS one
*/
}