From e10236c47b7f0d8ac61c16b0858fce95c8ca237c Mon Sep 17 00:00:00 2001 From: Xe Date: Sat, 19 Feb 2022 14:23:55 -0500 Subject: [PATCH] use within.services prefix Signed-off-by: Xe --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index af4a7fd..7909e31 100644 --- a/flake.nix +++ b/flake.nix @@ -44,9 +44,9 @@ }; nixosModule = { config, lib }: { - options.within.mara-bot.enable = lib.mkEnableOption "enable Mara bot"; + options.within.services.mara-bot.enable = lib.mkEnableOption "enable Mara bot"; - config = lib.mkIf config.within.mara-bot.enable { + config = lib.mkIf config.within.services.mara-bot.enable { users.users.mara-bot = { createHome = true; isSystemUser = true;