nixops: open port 6000 on rpi2

This commit is contained in:
Sebastien Bourdeauducq 2021-01-23 18:56:22 +08:00
parent 169876e211
commit 6ef06b5d0b

View File

@ -43,6 +43,9 @@ in
programs.mosh.enable = true;
networking.hostName = host;
networking.firewall.allowedTCPPorts = if host == "rpi-2" then [ 6000 ] else [];
time.timeZone = "Asia/Hong_Kong";
users.extraGroups.plugdev = { };