add pub ssh key to remote xD

This commit is contained in:
andromeda
2026-01-06 20:15:04 +01:00
parent beaceffff0
commit 1412004174

View File

@@ -1,4 +1,4 @@
{
{config, ...}: {
lenovo = {
hostname = "lenovo";
system = "x86_64-linux";
@@ -27,8 +27,10 @@
./modules/nixos/networking/networks/109-199-104-83.nix
# ssh through port 5522 among other things
# andromeda@lenovo is the only user allowed access
./modules/nixos/networking/hard-ssh.nix
./modules/nixos/networking/ssh-as-root.nix
{users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];}
# boilerplate settings
./modules/nixos/common.nix