aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/options.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-19 11:20:08 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-19 11:20:08 -0500
commit57115992c740e72fe4767f1b9b5e5d2921e884ef (patch)
tree06c30c8109d5caca936d5d5809d42162e4497861 /modules/desktop/options.nix
parent2bc17b5cfd65a9537a9c56e74c9e7918156015e0 (diff)
clean up qt stuff and tofi stuff
Diffstat (limited to 'modules/desktop/options.nix')
-rw-r--r--modules/desktop/options.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/modules/desktop/options.nix b/modules/desktop/options.nix
index 3d6b9e3..3e20643 100644
--- a/modules/desktop/options.nix
+++ b/modules/desktop/options.nix
@@ -43,9 +43,13 @@ in {
sway.enable = mkEnableOption "sway";
niri.enable = mkEnableOption "niri";
+ gtkDesktopPortal.enable = mkEnableOption "GTK desktop portal backend";
+ kdeDesktopPortal.enable = mkEnableOption "KDE desktop portal backend";
+
components = {
dunst = mkProgramOption "dunst";
fuzzel = mkProgramOption "fuzzel";
+ tofi = mkProgramOption "tofi";
};
};
gnome.enable = mkEnableOption "gnome";
@@ -116,6 +120,16 @@ in {
};
};
+ qt = {
+ enable = mkEnableOption "qt theming";
+ theme = mkThemeOption "qt";
+ iconTheme = mkOption {
+ type = types.str;
+ default = "Papirus";
+ description = "Icon theme to use for Qt/KDE applications";
+ };
+ };
+
programs = {
firefox = {
enable = mkEnableOption "firefox";
@@ -132,7 +146,6 @@ in {
};
foot = mkProgramOption "foot";
- tofi = mkProgramOption "tofi";
blackbox.enable = mkEnableOption "blackbox";
ghostty.enable = mkEnableOption "ghostty";
alacritty.enable = mkEnableOption "alacritty";
@@ -152,6 +165,10 @@ in {
assertion = with config.collinux.desktop.greetd; enable -> !(autologin.enable && cosmic-greeter.enable);
message = "Can't use autologin and cosmic-greeter at the same time";
}
+ {
+ assertion = with config.collinux.desktop.wm; !(gtkDesktopPortal.enable && kdeDesktopPortal.enable);
+ message = "Can't enable GTK and KDE desktop portal backends at the same time";
+ }
];
};
}