1
0
Fork 0
puter/profiles/dynamic/default.nix
2025-07-01 19:02:19 +02:00

18 lines
362 B
Nix

{ 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.";
}
];
};
}