diff options
-rw-r--r-- | bragi.nix | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -246,9 +246,9 @@ in rec { | |||
246 | systemd.services."thermoprint" = { | 246 | systemd.services."thermoprint" = { |
247 | serviceConfig = { | 247 | serviceConfig = { |
248 | Type = "simple"; | 248 | Type = "simple"; |
249 | ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.users."thermoprint".home}/database.sqlite /dev/usb/lp0''; | 249 | ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; |
250 | User = users.users."thermoprint".name; | 250 | User = users.extraUsers."thermoprint".name; |
251 | Group = users.users."thermoprint".group; | 251 | Group = users.extraUsers."thermoprint".group; |
252 | }; | 252 | }; |
253 | }; | 253 | }; |
254 | } | 254 | } |