summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-02-11 20:39:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-02-11 20:39:57 +0100
commitb848cdd2e63781c4cd01518ebec7e9bf81ce7781 (patch)
tree386ec33d5dee5a524cea247e5d39ec93e6dd7737
parentaf5abbd056dab4c242469a4946be9cfe70a06701 (diff)
downloadnixos-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.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/bragi.nix b/bragi.nix
index d9cf6bf3..f520d05c 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -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 = ''