From e4339e2888ecbefd067e05d64a47f991e8db900a Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Mon, 16 Mar 2026 17:12:11 +0000 Subject: [PATCH] Rebuild gtk.nix --- Droidnix/README.org | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index 93f7ae6a6..963214f3f 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -985,28 +985,25 @@ This is top file of this level which contains just an import statement for all r ./login-tuigreeter.nix #./login-lightdm.nix ./fonts.nix - ./theme.nix + ./gtk.nix ]; } #+END_SRC -** =generated/system/core/theme.nix= +** =generated/system/core/gtk.nix= I use the [[https://catppuccin.com/][Catppuccin]] almost everywhere. The nix module integrates almost automatically everywhere (except gtk). You'll notice the color values in multiple places outside this as well. -#+BEGIN_SRC nix :tangle generated/system/core/theme.nix :noweb tangle :mkdirp yes :eval never-html - { pkgs, ...}: - { - environment.systemPackages = with pkgs; [ - magnetic-catppuccin-gtk - ]; - +#+BEGIN_SRC nix :tangle generated/system/core/gtk.nix :noweb tangle :mkdirp yes :eval never-html +{ pkgs, user, ... }: +{ + home-manager.users.${user.username} = { gtk = { enable = true; - theme = { + theme = { name = "Catppuccin-Mocha-Standard-Blue-Dark"; package = pkgs.magnetic-catppuccin-gtk; }; - iconTheme = { + iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; @@ -1018,13 +1015,10 @@ You'll notice the color values in multiple places outside this as well. }; }; - catppuccin.enable = true; - catppuccin.flavor = "mocha"; - catppuccin.accent = "blue"; - catppuccin.gtk.icon.enable = true; - catppuccin.cursors.enable = true; - } - #+END_SRC + }; +} +#+END_SRC + ** =generated/system/core/fonts.nix= This file installs and configures fonts