Add warning for deprecated admin module
This commit is contained in:
12
clanModules/admin/default.nix
Normal file
12
clanModules/admin/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
config.assertions = [
|
||||
{
|
||||
assertion = config.clan.inventory.services.admin != { };
|
||||
message = ''
|
||||
The admin module has been migrated from `clan.services` to `clan.instances`
|
||||
See https://docs.clan.lol/TODO for updated usage.
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user