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

19 lines
362 B
Nix
Raw Normal View History

2025-07-01 19:02:19 +02:00
{ config, lib, ... }:
let
cfg = config.profiles.headful;
in
{
options.profiles.headful = {
enable = lib.mkEnableOption "headful";
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = !config.profiles.server.enable;
message = "The headful profile is not compatible with the server profile.";
}
];
};
}