2023-09-24 10:15:53 +02:00
|
|
|
{pkgs, ...}: {
|
2023-09-10 14:12:01 +02:00
|
|
|
imports = [
|
2023-09-24 10:15:53 +02:00
|
|
|
(import ./modules {
|
|
|
|
hostName = "hetzner-vpn1";
|
2023-09-24 10:46:15 +02:00
|
|
|
enableHomeManager = false;
|
2023-09-24 10:15:53 +02:00
|
|
|
})
|
2023-09-10 14:12:01 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2023-09-24 12:39:28 +02:00
|
|
|
my = {
|
|
|
|
enabledUsers = ["vinzenz"];
|
|
|
|
server.enable = true;
|
|
|
|
};
|
2023-09-11 19:16:26 +02:00
|
|
|
|
2023-09-24 12:39:28 +02:00
|
|
|
# TODO change to user "vinzenz" when tested
|
2023-09-10 14:12:01 +02:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICdYqY3Y1/f1bsAi5Qfyr/UWuX9ixu96IeAlhoQaJkbf''
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|