Desktop: start ssh-agent on login
This commit is contained in:
parent
ade2927e8b
commit
b202fe478d
2 changed files with 11 additions and 1 deletions
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./ssh-agent.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
roles/desktop/services/ssh-agent.nix
Normal file
10
roles/desktop/services/ssh-agent.nix
Normal 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
|
||||||
|
*/
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue