From 4a8e68a0d9edc1a77ad627627b85030a05b58b8c Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Mon, 16 Mar 2026 09:16:48 +0000 Subject: [PATCH] Working on GTK --- .../out_of_tree/machines/traveldroid/gtk.nix | 54 +++++-------------- 1 file changed, 13 insertions(+), 41 deletions(-) diff --git a/Droidnix/generated/out_of_tree/machines/traveldroid/gtk.nix b/Droidnix/generated/out_of_tree/machines/traveldroid/gtk.nix index b648798da..49e28974c 100644 --- a/Droidnix/generated/out_of_tree/machines/traveldroid/gtk.nix +++ b/Droidnix/generated/out_of_tree/machines/traveldroid/gtk.nix @@ -1,52 +1,24 @@ -{ - pkgs, - inputs, - stdenv, - ... -}: +{ pkgs, ... }: { - # 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 + # Install the Catppuccin GTK theme system-wide environment.systemPackages = with pkgs; [ + catppuccin-gtk papirus-icon-theme ]; + # Set the GTK theme and icon theme system-wide + gtk = { + theme = { + name = "Catppuccin-Mocha-Standard-Blue-Dark"; + }; + iconTheme = { + name = "Papirus-Dark"; + }; + }; + # 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); - ''; }; }