From fa6b0bad92878caee1ab83512c55dd62c0322083 Mon Sep 17 00:00:00 2001 From: "DavidCrompton1192@gmail.com" Date: Fri, 17 Mar 2023 23:56:14 -0400 Subject: [PATCH] Run Service as Handy User --- deploy/flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/flake.nix b/deploy/flake.nix index 64e7c6d..ec19d29 100644 --- a/deploy/flake.nix +++ b/deploy/flake.nix @@ -20,6 +20,13 @@ ExecStart = '' ${handy_py}/bin/handyhelper ''; + User = "handy"; + }; + }; + users.users = { + handy = { + home = "/var/lib/handyhelper"; + isSystemUser = true; }; }; })