use within.services prefix
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
fbcd62aa03
commit
e10236c47b
|
@ -44,9 +44,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModule = { config, lib }: {
|
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 = {
|
users.users.mara-bot = {
|
||||||
createHome = true;
|
createHome = true;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
|
Loading…
Reference in New Issue