fix: make ssh agent work

This commit is contained in:
uku 2024-07-26 12:58:05 +02:00
parent 77dd766bc0
commit 1601dacb13
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
4 changed files with 13 additions and 22 deletions

View file

@ -55,7 +55,17 @@ in {
};
};
hm.home = {inherit stateVersion;};
hm = {
home = {inherit stateVersion;};
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
forwardAgent = true;
};
services.ssh-agent.enable = true;
};
home-manager = {
useGlobalPkgs = true;
@ -107,8 +117,6 @@ in {
};
programs = {
ssh.startAgent = true;
direnv.enable = true;
nix-ld.enable = true;