feat(clanModules): add deprecation feature that generates a warning if the module is used

This commit is contained in:
Johannes Kirschbauer
2025-05-14 17:03:23 +02:00
parent d5c77cda5b
commit 9edc3fb881
2 changed files with 12 additions and 8 deletions

View File

@@ -18,14 +18,6 @@
../../root-password
];
config = {
warnings = [
''
The admin module has been migrated from `clan.services` to `clan.instances`
See https://docs.clan.lol/manual/distributed-services for usage.
''
];
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues config.clan.admin.allowedKeys;
};
}