nixos/home-manager: do ssh-add when making a login shell

This commit is contained in:
Luke Granger-Brown 2020-11-05 01:57:55 +00:00
parent bad3be7574
commit 57d4f7f05e

View file

@ -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; [ home.packages = lib.mkAfter (with pkgs; [
depot.nix.pkgs.copybara depot.nix.pkgs.copybara
go go