summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-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 = ''