about summary refs log tree commit diff
path: root/machines/profpatsch/base-server.toml
blob: b2b4a88a224020a61f73641d0ce6f5d0f07937f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"