18 lines
292 B
Nix
18 lines
292 B
Nix
{ pkgs, lib, ... }:
|
|
with lib;
|
|
{
|
|
options.components.gui = {
|
|
enable = lib.mkEnableOption "GUI configurations";
|
|
};
|
|
|
|
imports = [
|
|
./xorg
|
|
./home-manager
|
|
./browser.nix
|
|
];
|
|
|
|
config = mkIf config.components.gui.enable {
|
|
# todo extract xorg stuff to prepare wayland
|
|
};
|
|
}
|