added NxACE (untested)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-04 12:10:42 +02:00
parent c202666c0d
commit 66ef004344
433 changed files with 462 additions and 51424 deletions

72
home-modules/gtk.nix Normal file
View File

@@ -0,0 +1,72 @@
{ config, pkgs, pkgs-unstable, lib, user, ... }:
let
theme-name = "Catppuccin-Macchiato-Compact-Pink-Dark";
theme-package = pkgs.catppuccin-gtk.override {
accents = [ "pink" ];
size = "compact";
tweaks = [ "rimless" "black" ];
variant = "macchiato";
};
in
lib.mkIf (user != "tv")
{
home.packages = with pkgs; [
# gnome.gnome-themes-extra
# gnome.adwaita-icon-theme
gnome.gnome-tweaks
gtk3
gtk4
catppuccin-gtk
] ++ [
# pkgs-unstable.themix-gui
];
home.sessionVariables.GTK_THEME = theme-name;
gtk = {
enable = true;
theme = {
name = theme-name;
package = theme-package;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
cursorTheme = {
name = "Catppuccin-Mocha-Pink-Cursors";
package = pkgs.catppuccin-cursors.mochaPink;
size = 20;
};
};
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.catppuccin-cursors.mochaPeach;
name = "Catppuccin-Mocha-Pink-Cursors";
size = 20;
};
xdg.configFile = {
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
};
dconf = {
enable = true;
settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = theme-name;
};
};
};
}