feat: enable ssh-agent and forwardAgent for homelab's machine

This commit is contained in:
ryan4yin
2023-05-25 01:36:12 +08:00
parent 4511f834af
commit 2c3df9ba1e
3 changed files with 66 additions and 2 deletions

View File

@@ -94,6 +94,11 @@
openFirewall = true;
};
# The OpenSSH agent remembers private keys for you
# so that you dont have to type in passphrases every time you make an SSH connection.
# Use `ssh-add` to add a key to the agent.
programs.ssh.startAgent = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;