1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-05-18 01:08:10 +02:00
parent b8af0e9761
commit 8164e92af6
No known key found for this signature in database
84 changed files with 674 additions and 567 deletions

View file

@ -7,23 +7,12 @@ in
enable = lib.mkEnableOption "desktop";
};
# imports = lib.optionals cfg.enable (lib.findModules {} [./profile]);
config = lib.mkIf cfg.enable {
imports = lib.findModules { } [ ./profile ];
assertions = [
{
assertion = config.profiles.server.enable == false;
assertion = !config.profiles.server.enable;
message = "The desktop profile is not compatible with the server profile.";
}
];
};
# config.assertions = lib.mkIf cfg.enable [
# {
# assertion = config.profiles.server.enable == false;
# message = "The desktop profile is not compatible with the server profile.";
# }
# ];
}