nix-da/hosts/nihilus/configuration.nix
2024-10-10 19:40:27 +02:00

23 lines
322 B
Nix

{ pubkeys, ... }:
{
imports = [
./hardware-configuration.nix
];
modules = {
services.tailscale = {
enable = true;
tags = [
"server"
"backup"
];
};
};
services = {
openssh.enable = true;
};
users.users.root.openssh.authorizedKeys.keys = [ pubkeys.ny ];
}