Working on GTK

This commit is contained in:
2026-03-16 09:14:03 +00:00
parent e363074f21
commit e869588722
@@ -1,11 +1,37 @@
{ pkgs, inputs, ... }:
{
pkgs,
inputs,
stdenv,
...
}:
{
# Import the Catppuccin NixOS module
imports = [
inputs.catppuccin.nixosModules.catppuccin
];
# Configure the Catppuccin GTK theme system-wide
catppuccin = {
gtk = {
enable = true;
flavor = "mocha";
};
};
# Set the GTK theme and icon theme system-wide
environment.systemPackages = with pkgs; [
inputs.catppuccin.packages.${pkgs.system}.catppuccin-gtk
papirus-icon-theme
];
# Force dark mode for all GTK applications
environment.sessionVariables = {
GTK_ENABLE_DARK_MODE = "1";
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
GTK_ICON_THEME = "Papirus-Dark";
};
# Home Manager configuration for your user
home-manager.users.henrov = {
gtk = {
enable = true;
@@ -17,10 +43,7 @@
};
};
home.sessionVariables = {
GTK_ENABLE_DARK_MODE = "1";
};
# Force dark mode for Zen Browser
xdg.configFile."zen-browser/user.js".text = ''
user_pref("widget.non-native-theme.enabled", false);
user_pref("ui.systemUsesDarkTheme", 1);