1
0
Fork 0
puter/profiles/desktop/default.nix
2025-05-18 01:08:10 +02:00

18 lines
362 B
Nix

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