{ 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; [ 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; theme = { name = "Catppuccin-Mocha-Standard-Blue-Dark"; }; iconTheme = { name = "Papirus-Dark"; }; }; # 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); ''; }; }