Files
nix-config/hosts/vps2/default.nix
Jordan Holt 614fa18ef7
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m18s
hosts: add public keys
2025-09-08 22:38:54 +01:00

34 lines
492 B
Nix

{
inputs,
...
}:
{
imports = [
inputs.disko.nixosModules.disko
./hardware-configuration.nix
./disko-config.nix
../server.nix
];
nixpkgs = {
hostPlatform = "x86_64-linux";
};
age.rekey.hostPubkey = ./ssh_host_ed25519_key.pub;
networking = {
hostId = "60de4af8";
firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
];
};
};
modules.services.tailscale.isExitNode = true;
system.stateVersion = "25.05";
}