Regenerated

This commit is contained in:
2026-03-25 12:35:38 +00:00
parent 44e2cfea2b
commit c25f0e69e2
2 changed files with 12 additions and 22 deletions
+6 -11
View File
@@ -616,39 +616,28 @@ Setting up GTK
{ pkgs, config, lib, ... }:
let
# Resolve the username from the host config
username = config.defaultUser or "henrov";
in
{
############################
# System-level GTK packages
############################
environment.systemPackages = with pkgs; [
gtk3
gtk4
];
############################
# Home Manager user-level GTK configuration
############################
# Directly assign the GTK config to the user, no recursiveUpdate
home-manager.users."${username}" = {
gtk = {
enable = true;
# GTK theme
theme = {
name = "Catppuccin-Mocha-Standard-Blue-Dark";
package = pkgs.magnetic-catppuccin-gtk;
};
# Icon theme
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
# Extra GTK3 / GTK4 settings
gtk3.extraConfig = {
"gtk-application-prefer-dark-theme" = 1;
};
@@ -656,6 +645,12 @@ in
"gtk-application-prefer-dark-theme" = 1;
};
};
# Ensure GTK apps launched from Hyprland / terminal use dark theme
home.sessionVariables = {
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
XDG_DATA_DIRS = "${pkgs.papirus-icon-theme}/share:$XDG_DATA_DIRS";
};
};
}
#+END_SRC
@@ -1,39 +1,28 @@
{ pkgs, config, lib, ... }:
let
# Resolve the username from the host config
username = config.defaultUser or "henrov";
in
{
############################
# System-level GTK packages
############################
environment.systemPackages = with pkgs; [
gtk3
gtk4
];
############################
# Home Manager user-level GTK configuration
############################
# Directly assign the GTK config to the user, no recursiveUpdate
home-manager.users."${username}" = {
gtk = {
enable = true;
# GTK theme
theme = {
name = "Catppuccin-Mocha-Standard-Blue-Dark";
package = pkgs.magnetic-catppuccin-gtk;
};
# Icon theme
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
# Extra GTK3 / GTK4 settings
gtk3.extraConfig = {
"gtk-application-prefer-dark-theme" = 1;
};
@@ -41,5 +30,11 @@ in
"gtk-application-prefer-dark-theme" = 1;
};
};
# Ensure GTK apps launched from Hyprland / terminal use dark theme
home.sessionVariables = {
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
XDG_DATA_DIRS = "${pkgs.papirus-icon-theme}/share:$XDG_DATA_DIRS";
};
};
}