diff options
-rw-r--r-- | bragi.nix | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 = '' |