diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-11 20:39:57 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-11 20:39:57 +0100 |
commit | b848cdd2e63781c4cd01518ebec7e9bf81ce7781 (patch) | |
tree | 386ec33d5dee5a524cea247e5d39ec93e6dd7737 | |
parent | af5abbd056dab4c242469a4946be9cfe70a06701 (diff) | |
download | nixos-b848cdd2e63781c4cd01518ebec7e9bf81ce7781.tar nixos-b848cdd2e63781c4cd01518ebec7e9bf81ce7781.tar.gz nixos-b848cdd2e63781c4cd01518ebec7e9bf81ce7781.tar.bz2 nixos-b848cdd2e63781c4cd01518ebec7e9bf81ce7781.tar.xz nixos-b848cdd2e63781c4cd01518ebec7e9bf81ce7781.zip |
No thermoprint on bragi for now
-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 = '' |