Still GTK looks

This commit is contained in:
2026-03-16 11:32:54 +00:00
parent 49a2d35d02
commit 5e41844415
5 changed files with 446 additions and 429 deletions
+386 -388
View File
File diff suppressed because it is too large Load Diff
+23 -25
View File
@@ -339,7 +339,7 @@ This is the top of the machine hierarchy
./session.nix ./session.nix
./networking.nix ./networking.nix
./gtk.nix ./gtk.nix
./theme.nix ./catppuccin.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];
@@ -1121,24 +1121,9 @@ This file sets up wayland
** =generated/out_of_tree/machines/traveldroid/gtk.nix= ** =generated/out_of_tree/machines/traveldroid/gtk.nix=
This file configures gtk This file configures gtk
#+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, inputs, ... }: { pkgs, ... }:
{ {
# enable the catppuccin theme for everything with mocha + blue accents
catppuccin.enable = true;
catppuccin.flavor = "mocha";
catppuccin.accent = "blue";
#SEE SESSIONS.NIX FOR SESSION VARIABLES
}
#+END_SRC
** Theme
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/out_of_tree/machines/traveldroid/theme.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, ...}:
{
gtk = { gtk = {
enable = true; enable = true;
colorScheme = "dark"; colorScheme = "dark";
@@ -1151,17 +1136,30 @@ You'll notice the color values in multiple places outside this as well.
size = "compact"; size = "compact";
}); });
}; };
iconTheme.name = "Papirus-Dark"; iconTheme.name = "Papirus-Dark";
}; };
}
catppuccin.enable = true; #+END_SRC
catppuccin.flavor = "mocha";
catppuccin.accent = "blue"; ** generated/out_of_tree/machines/traveldroid/catppuccin.nix
catppuccin.gtk.icon.enable = true; I use the [[https://catppuccin.com/][Catppuccin]] almost everywhere. The nix module integrates almost automatically everywhere (except gtk).
catppuccin.cursors.enable = true; You'll notice the color values in multiple places outside this as well.
} #+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/catppuccin.nix :noweb tangle :mkdirp yes :eval never-html
#+END_SRC { ... }:
{
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
gtk = {
icon.enable = true;
};
cursors.enable = true;
};
}
#+END_SRC
** =generated/system/development/top.nix= ** =generated/system/development/top.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
@@ -0,0 +1,13 @@
{ ... }:
{
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
gtk = {
icon.enable = true;
};
cursors.enable = true;
};
}
@@ -1,10 +1,18 @@
{ pkgs, inputs, ... }: { pkgs, ... }:
{ {
# enable the catppuccin theme for everything with mocha + blue accents gtk = {
catppuccin.enable = true; enable = true;
catppuccin.flavor = "mocha"; colorScheme = "dark";
catppuccin.accent = "blue"; theme = {
name = "Catppuccin-GTK-Grey-Dark-Compact";
#SEE SESSIONS.NIX FOR SESSION VARIABLES package = (pkgs.magnetic-catppuccin-gtk.override {
accent = [ "grey" ];
shade = "dark";
tweaks = [ "black" ];
size = "compact";
});
};
iconTheme.name = "Papirus-Dark";
};
} }
@@ -19,7 +19,7 @@
./session.nix ./session.nix
./networking.nix ./networking.nix
./gtk.nix ./gtk.nix
./theme.nix ./catppuccin.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];