diff options
| -rw-r--r-- | bragi.nix | 18 |
1 files changed, 10 insertions, 8 deletions
| @@ -18,6 +18,8 @@ in rec { | |||
| 18 | boot.kernelParams = [ "console=ttyS0,115200" | 18 | boot.kernelParams = [ "console=ttyS0,115200" |
| 19 | ]; | 19 | ]; |
| 20 | 20 | ||
| 21 | boot.kernelModules = [ "usblp" ]; | ||
| 22 | |||
| 21 | networking.hostName = "bragi"; | 23 | networking.hostName = "bragi"; |
| 22 | networking.hostId = "2af11085"; | 24 | networking.hostId = "2af11085"; |
| 23 | networking.wireless.enable = true; | 25 | networking.wireless.enable = true; |
| @@ -270,14 +272,14 @@ in rec { | |||
| 270 | home = "/var/lib/thermoprint"; | 272 | home = "/var/lib/thermoprint"; |
| 271 | }; | 273 | }; |
| 272 | 274 | ||
| 273 | # systemd.services."thermoprint" = { | 275 | systemd.services."thermoprint" = { |
| 274 | # serviceConfig = { | 276 | serviceConfig = { |
| 275 | # Type = "simple"; | 277 | Type = "simple"; |
| 276 | # ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; | 278 | ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; |
| 277 | # User = users.extraUsers."thermoprint".name; | 279 | User = users.extraUsers."thermoprint".name; |
| 278 | # Group = users.extraUsers."thermoprint".group; | 280 | Group = users.extraUsers."thermoprint".group; |
| 279 | # }; | 281 | }; |
| 280 | # }; | 282 | }; |
| 281 | 283 | ||
| 282 | nix = { | 284 | nix = { |
| 283 | daemonIONiceLevel = 3; | 285 | daemonIONiceLevel = 3; |
