1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-01 19:02:19 +02:00
parent a026867c03
commit d1d7dd9c01
No known key found for this signature in database
22 changed files with 427 additions and 103 deletions

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
let
cfg = config.profiles.dynamic;
in
{
options.profiles.dynamic = {
enable = lib.mkEnableOption "dynamic";
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = !config.profiles.server.enable;
message = "The dynamic profile is not compatible with the server profile.";
}
];
};
}