use within prefix

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-02-19 14:22:55 -05:00
parent 58947b7571
commit fbcd62aa03
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@
}; };
nixosModule = { config, lib }: { nixosModule = { config, lib }: {
options.xeserv.mara-bot.enable = lib.mkEnableOption "enable Mara bot"; options.within.mara-bot.enable = lib.mkEnableOption "enable Mara bot";
config = lib.mkIf config.xeserv.mara-bot.enable { config = lib.mkIf config.within.mara-bot.enable {
users.users.mara-bot = { users.users.mara-bot = {
createHome = true; createHome = true;
isSystemUser = true; isSystemUser = true;