summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-12-06 02:28:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-12-06 02:28:26 +0100
commitc7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc (patch)
treeb3a719fcb5f0dd32dca8dbb6c4c0b97c23e58457
parent5693ade006044ec55856b9a2c4b13df44359f996 (diff)
downloadnixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar
nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.gz
nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.bz2
nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.xz
nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.zip
cleanup
-rw-r--r--bragi.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/bragi.nix b/bragi.nix
index c88df593..932d0cdf 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -242,14 +242,14 @@ in rec {
242 home = "/var/lib/thermoprint"; 242 home = "/var/lib/thermoprint";
243 }; 243 };
244 244
245 systemd.services."thermoprint" = { 245 systemd.services."thermoprint" = {
246 serviceConfig = { 246 serviceConfig = {
247 Type = "simple"; 247 Type = "simple";
248 ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; 248 ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0'';
249 User = users.extraUsers."thermoprint".name; 249 User = users.extraUsers."thermoprint".name;
250 Group = users.extraUsers."thermoprint".group; 250 Group = users.extraUsers."thermoprint".group;
251 };
252 }; 251 };
252 };
253 253
254 nix = { 254 nix = {
255 extraOptions = '' 255 extraOptions = ''