You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
407 B
Nix

# this stuff replaces all settings which would be configured by the corresponding frontend NixOS module
{
config,
lib,
pkgs,
...
}:
let
cfg = config.x-banananetwork.frontend;
in
{
config = lib.mkIf (cfg.enable && !cfg.nixosModuleCompat) {
assertions = [
{
assertion = !cfg.nixosModuleCompat;
message = "missing implementation of base stuff";
}
];
};
}