This commit is contained in:
iFargle 2024-01-29 17:59:26 +09:00
parent 91d29b9212
commit c4766a499a

View file

@ -1,10 +1,10 @@
{ config, pkgs, hostname, ... }: { { config, pkgs, hostname, ... }: {
# enable passwordless elevation # enable passwordless elevation
# Useful for deploy-rs # Useful for deploy-rs
security.pam.enableSSHAgentAuth = true; # security.pam.enableSSHAgentAuth = true;
security.pam.sshAgentAuth.enable = true; security.pam.sshAgentAuth.enable = true;
# programs.ssh.startAgent = true; programs.ssh.startAgent = true;
# By default no ports are open. # By default no ports are open.
# When ./tailscale.nix is imported, port 22 on the tailscale interface is then opened. # When ./tailscale.nix is imported, port 22 on the tailscale interface is then opened.
services.openssh = { services.openssh = {