diff options
-rw-r--r-- | bragi.nix | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -189,7 +189,7 @@ in rec { | |||
189 | enable = true; | 189 | enable = true; |
190 | allowPing = true; | 190 | allowPing = true; |
191 | allowedTCPPorts = [ 22 # SSH | 191 | allowedTCPPorts = [ 22 # SSH |
192 | 8080 # thermoprint | 192 | # 8080 # thermoprint |
193 | 6600 # MPD | 193 | 6600 # MPD |
194 | ]; | 194 | ]; |
195 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | 195 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh |
@@ -248,14 +248,14 @@ in rec { | |||
248 | home = "/var/lib/thermoprint"; | 248 | home = "/var/lib/thermoprint"; |
249 | }; | 249 | }; |
250 | 250 | ||
251 | systemd.services."thermoprint" = { | 251 | # systemd.services."thermoprint" = { |
252 | serviceConfig = { | 252 | # serviceConfig = { |
253 | Type = "simple"; | 253 | # Type = "simple"; |
254 | ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; | 254 | # ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; |
255 | User = users.extraUsers."thermoprint".name; | 255 | # User = users.extraUsers."thermoprint".name; |
256 | Group = users.extraUsers."thermoprint".group; | 256 | # Group = users.extraUsers."thermoprint".group; |
257 | }; | 257 | # }; |
258 | }; | 258 | # }; |
259 | 259 | ||
260 | nix = { | 260 | nix = { |
261 | extraOptions = '' | 261 | extraOptions = '' |