nixos-config/components/gui/default.nix
Ingolf Wagner 43f3d86ed5
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 10m27s
fix qt theme problem with the Tray Icon
2024-07-28 16:11:29 +02:00

32 lines
685 B
Nix

{ pkgs, lib, config, ... }:
with lib;
{
options.components.gui = {
enable = lib.mkEnableOption "GUI configurations";
};
imports = [
# todo : structure with home-manager and such is not cool, create another structure
./audio.nix
./browser.nix
./cups.nix
./fonts.nix
./home-manager
./kmonad.nix
#./noti.nix # todo: make this different (use password store and such)
./pass.nix
./steam.nix
./suspend.nix
./vscode.nix
./wayland.nix
./xorg
];
config = mkIf config.components.gui.enable {
# todo extract xorg stuff to prepare wayland
environment.enableAllTerminfo = true;
qt.platformTheme = "qt5ct";
};
}