From 445c3cc60ee4c84fb352e219c55b8e7f5bcf5799 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 17 Oct 2015 23:43:45 +0200 Subject: syntax --- bragi.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bragi.nix b/bragi.nix index fb2b5876..70b339ba 100644 --- a/bragi.nix +++ b/bragi.nix @@ -246,9 +246,9 @@ in rec { systemd.services."thermoprint" = { serviceConfig = { Type = "simple"; - ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.users."thermoprint".home}/database.sqlite /dev/usb/lp0''; - User = users.users."thermoprint".name; - Group = users.users."thermoprint".group; + ExecStart = ''${thermoprint-servant}/bin/thermoprint --database ${users.extraUsers."thermoprint".home}/database.sqlite /dev/usb/lp0''; + User = users.extraUsers."thermoprint".name; + Group = users.extraUsers."thermoprint".group; }; }; } -- cgit v1.2.3