stuff
This commit is contained in:
parent
a026867c03
commit
d1d7dd9c01
22 changed files with 427 additions and 103 deletions
18
profiles/headful/default.nix
Normal file
18
profiles/headful/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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.";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue