diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-08-05 09:37:18 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-08-05 09:37:18 -0700 |
| commit | 11de044811d357b4b34e87bccfaf5302d0eb6c93 (patch) | |
| tree | 050312e0a00e6467fda72095c49d2f2ae0ae567e /nix/hosts/wildcat/default.nix | |
| parent | add a linux VM as a new host (diff) | |
| download | infra-11de044811d357b4b34e87bccfaf5302d0eb6c93.tar.gz | |
add a new host: wildcat
This is a VPS on hetzner.
Diffstat (limited to 'nix/hosts/wildcat/default.nix')
| -rw-r--r-- | nix/hosts/wildcat/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nix/hosts/wildcat/default.nix b/nix/hosts/wildcat/default.nix new file mode 100644 index 0000000..f62df7d --- /dev/null +++ b/nix/hosts/wildcat/default.nix @@ -0,0 +1,15 @@ +{ ... }: { + + imports = [ + ./hardware.nix + ./networking.nix + ]; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = true; + networking.hostName = "fcuny"; + networking.domain = "net"; + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi'' ]; + system.stateVersion = "23.11"; +} |
