use within prefix
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
58947b7571
commit
fbcd62aa03
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue