1
0
Fork 0

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
1 changed files with 3 additions and 0 deletions

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 = { };