nixfiles/system/default.nix
NullBite 33ee7046ef
nixfiles: add meta option
contains metadata about enabled modules (there's no "official" way to
check if wayland is enabled)
2024-02-16 17:50:43 +01:00

25 lines
440 B
Nix

{ pkgs, config, lib, options, ... }@args:
let
cfg = config.nixfiles;
in
{
imports = [
./common
./hardware
./package-sets
./profile
./programs
./sessions
./testing
];
config = {};
options.nixfiles = {
meta.wayland = lib.mkOption {
description = "Whether to prefer wayland applications and configuration";
default = false;
example = true;
type = lib.types.bool;
};
};
}