Adding Thunar

This commit is contained in:
2026-03-14 12:55:18 +00:00
parent 8a2c0bbe0f
commit 7ce1ff16e3
6 changed files with 82 additions and 2 deletions
+37
View File
@@ -0,0 +1,37 @@
{ config, pkgs, ... }:
{
# Enable GTK and Qt theming
programs.gtk.enable = true;
programs.qt.enable = true;
# Set a dark GTK theme (e.g., Adwaita-dark)
environment.systemPackages = with pkgs; [
adwaita-icon-theme
];
# GTK settings
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
iconTheme = {
name = "Adwaita";
package = adwaita-icon-theme;
};
};
};
# Qt settings
environment.sessionVariables = {
QT_STYLE_OVERRIDE = "gtk2";
QT_QPA_PLATFORMTHEME = "gtk2";
GTK_THEME = "Adwaita:dark";
};
# For Qt5/Qt6 apps
environment.etc."xdg/qt5ct/qss/qt5ct.qss".text = ''
/* Set dark palette for Qt5 apps */
@import "dark";
'';
}