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

18 lines
360 B
Nix

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