Rebuild gtk.nix

This commit is contained in:
2026-03-16 17:12:11 +00:00
parent f0997da7cb
commit e4339e2888
+7 -13
View File
@@ -985,21 +985,18 @@ 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, ...}:
#+BEGIN_SRC nix :tangle generated/system/core/gtk.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, user, ... }:
{
environment.systemPackages = with pkgs; [
magnetic-catppuccin-gtk
];
home-manager.users.${user.username} = {
gtk = {
enable = true;
theme = {
@@ -1018,14 +1015,11 @@ 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
** =generated/system/core/fonts.nix=
This file installs and configures fonts
#+BEGIN_SRC nix :tangle generated/system/core/fonts.nix :noweb tangle :mkdirp yes :eval never-html