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-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