ssh: move ssh keys to a more acceptable place

This commit is contained in:
Nico 2025-05-03 20:46:30 +10:00
parent e1bb7f664c
commit 72da1a0203
2 changed files with 4 additions and 5 deletions

View file

@ -14,11 +14,6 @@
}; };
}; };
# add ssh key
users.users.nico.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzUJnqCpbRxggjyIZo4KWnTyHobPdi/xXkN1/n/yIMD"
];
# enable fail2ban # enable fail2ban
services.fail2ban.enable = true; services.fail2ban.enable = true;
} }

View file

@ -6,4 +6,8 @@
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.users.nico.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzUJnqCpbRxggjyIZo4KWnTyHobPdi/xXkN1/n/yIMD"
];
} }