2023-02-17 00:41:22 +01:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.components.gui = {
|
|
|
|
enable = lib.mkEnableOption "GUI configurations";
|
|
|
|
};
|
|
|
|
|
|
|
|
imports = [
|
2023-02-17 00:59:29 +01:00
|
|
|
./xorg
|
2023-02-17 00:41:22 +01:00
|
|
|
./home-manager
|
2023-02-17 00:59:29 +01:00
|
|
|
./browser.nix
|
2023-02-17 00:41:22 +01:00
|
|
|
];
|
|
|
|
|
2023-02-17 00:59:29 +01:00
|
|
|
config = mkIf config.components.gui.enable {
|
|
|
|
# todo extract xorg stuff to prepare wayland
|
|
|
|
};
|
2023-02-17 00:41:22 +01:00
|
|
|
}
|