diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-06 02:28:26 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-06 02:28:26 +0100 |
| commit | c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc (patch) | |
| tree | b3a719fcb5f0dd32dca8dbb6c4c0b97c23e58457 | |
| parent | 5693ade006044ec55856b9a2c4b13df44359f996 (diff) | |
| download | nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.gz nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.bz2 nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.tar.xz nixos-c7e9cf9ff1200b61f3023a4f0aaa5c0389b0f2bc.zip | |
cleanup
| -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 = '' |
