Working on GTK

This commit is contained in:
2026-03-16 08:55:10 +00:00
parent 963a46fde9
commit 5f2abcd658
@@ -1,13 +1,11 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
{ {
# System packages (NixOS)
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.catppuccin.gtk.mocha.standard.blue # Use the flake input inputs.catppuccin.packages.${pkgs.system}.catppuccin-gtk-mocha
papirus-icon-theme papirus-icon-theme
]; ];
# Home Manager GTK settings
home-manager.users.henrov = { home-manager.users.henrov = {
gtk = { gtk = {
enable = true; enable = true;
@@ -19,15 +17,14 @@
}; };
}; };
# Force dark mode via environment variable
home.sessionVariables = { home.sessionVariables = {
GTK_ENABLE_DARK_MODE = "1"; GTK_ENABLE_DARK_MODE = "1";
}; };
/*
# Optional: Force dark mode for Zen Browser xdg.configFile."zen-browser/user.js".text = ''
xdg.configFile."zen-browser/user.js".text = '' user_pref("widget.non-native-theme.enabled", false);
user_pref("widget.non-native-theme.enabled", false); user_pref("ui.systemUsesDarkTheme", 1);
user_pref("ui.systemUsesDarkTheme", 1); '';
''; */
}; };
} }