1
0
Fork 0
puter/profiles/desktop/default.nix

19 lines
362 B
Nix
Raw Normal View History

2025-05-11 22:49:04 +02:00
{ config, lib, ... }:
let
cfg = config.profiles.desktop;
in
{
options.profiles.desktop = {
enable = lib.mkEnableOption "desktop";
};
config = lib.mkIf cfg.enable {
assertions = [
{
2025-05-18 01:08:10 +02:00
assertion = !config.profiles.server.enable;
2025-05-11 22:49:04 +02:00
message = "The desktop profile is not compatible with the server profile.";
}
];
};
}