diff options
Diffstat (limited to 'machines/profpatsch/base-server.toml')
-rw-r--r-- | machines/profpatsch/base-server.toml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/machines/profpatsch/base-server.toml b/machines/profpatsch/base-server.toml new file mode 100644 index 00000000..b2b4a88a --- /dev/null +++ b/machines/profpatsch/base-server.toml @@ -0,0 +1,26 @@ +[module] +type = "nixos-config" +version = "0.0.1" + +[[imports]] +module = "./base.nix" + +[configVariables] +server = [ "vuizvui", "user", "profpatsch", "server" ] + +[programs.mosh] +enable = true + +[services.openssh] +enable = true + + [[services.openssh.listenAddresses]] + addr = "0.0.0.0" + port._configVariable.server = "sshPort" + +[networking.firewall] +enable = true +allowPing = true + +[[networking.firewall.allowedTCPPorts]] +_configVariable.server = "sshPort" |