Compare commits

...

6 Commits

View File

@@ -16,12 +16,24 @@
wantedBy = ["networking-online.target"];
enable = true;
serviceConfig = {
WorkingDirectory = "handyhelper";
WorkingDirectory = config.users.users.handy.home;
ExecStart = ''
${handy_py}/bin/handyhelper
'';
User = "handy";
RuntimeDirectory = "handyhelper";
RuntimeDirectoryMode = "0755";
};
};
users.users = {
handy = {
home = "/var/lib/handyhelper";
useDefaultShell = true;
isSystemUser = true;
group = "handy";
};
};
users.groups.handy = {};
})
];
};