Trying with emacs

This commit is contained in:
2026-03-14 21:10:16 +00:00
parent d189d4c7a9
commit ef490e1a69
2 changed files with 13 additions and 37 deletions
+7 -19
View File
@@ -1191,33 +1191,21 @@ This file sets up wayland
#+END_SRC
** =generated/system/core/gtk.nix=
This file installs and configures eww
This file configures gtk
#+BEGIN_SRC nix :tangle generated/system/core/gtk.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, ... }:
{ pkgs, ... }:
{
# Enable GTK and Qt theming
programs.gtk.enable = true;
programs.qt.enable = true;
# Install the Adwaita icon theme
environment.systemPackages = with pkgs; [
adwaita-icon-theme
catppuccin-gtk
papirus-icon-theme
];
# Set GTK theme and icon theme via environment variables
environment.sessionVariables = {
GTK_THEME = "Adwaita:dark";
GTK_ICON_THEME = "Adwaita";
QT_STYLE_OVERRIDE = "gtk2";
QT_QPA_PLATFORMTHEME = "gtk2";
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
GTK_ICON_THEME = "Papirus-Dark";
GTK_APPLICATION_PREFER_DARK_THEME = "1";
};
# For Qt5/Qt6 apps
environment.etc."xdg/qt5ct/qss/qt5ct.qss".text = ''
/* Set dark palette for Qt5 apps */
@import "dark";
'';
}
#+END_SRC