apparently you need a group here

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-02-19 14:30:32 -05:00
parent 2e771b01cc
commit 669344d641
1 changed files with 5 additions and 1 deletions

View File

@ -44,13 +44,17 @@
};
nixosModules.bot = { config, lib, ... }: {
options.within.services.mara-bot.enable = lib.mkEnableOption "enable Mara bot";
options.within.services.mara-bot.enable =
lib.mkEnableOption "enable Mara bot";
config = lib.mkIf config.within.services.mara-bot.enable {
users.groups.mara-bot = { };
users.users.mara-bot = {
createHome = true;
isSystemUser = true;
home = "/var/lib/mara-bot";
group = "mara-bot";
};
systemd.services.mara-bot = {