nixos/home-manager: do ssh-add when making a login shell
This commit is contained in:
parent
bad3be7574
commit
57d4f7f05e
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@
|
|||
'';
|
||||
};
|
||||
|
||||
programs.bash.initExtra = lib.mkAfter ''
|
||||
ssh-add -q -l >/dev/null || ssh-add -c -q
|
||||
'';
|
||||
|
||||
home.packages = lib.mkAfter (with pkgs; [
|
||||
depot.nix.pkgs.copybara
|
||||
go
|
||||
|
|
Loading…
Reference in a new issue