Rebuild gtk.nix

This commit is contained in:
2026-03-16 17:12:11 +00:00
parent f0997da7cb
commit e4339e2888
+12 -18
View File
@@ -985,28 +985,25 @@ This is top file of this level which contains just an import statement for all r
./login-tuigreeter.nix ./login-tuigreeter.nix
#./login-lightdm.nix #./login-lightdm.nix
./fonts.nix ./fonts.nix
./theme.nix ./gtk.nix
]; ];
} }
#+END_SRC #+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). 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. 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 #+BEGIN_SRC nix :tangle generated/system/core/gtk.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, ...}: { pkgs, user, ... }:
{ {
environment.systemPackages = with pkgs; [ home-manager.users.${user.username} = {
magnetic-catppuccin-gtk
];
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {
name = "Catppuccin-Mocha-Standard-Blue-Dark"; name = "Catppuccin-Mocha-Standard-Blue-Dark";
package = pkgs.magnetic-catppuccin-gtk; package = pkgs.magnetic-catppuccin-gtk;
}; };
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; 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"; #+END_SRC
catppuccin.gtk.icon.enable = true;
catppuccin.cursors.enable = true;
}
#+END_SRC
** =generated/system/core/fonts.nix= ** =generated/system/core/fonts.nix=
This file installs and configures fonts This file installs and configures fonts