stylix: add gruvbox-dark-pale

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-29 11:14:08 +03:00
parent b63073cab7
commit 95671a0343
3 changed files with 48 additions and 12 deletions

View File

@ -37,7 +37,7 @@
}; };
stylix = { stylix = {
enable = true; enable = true;
theme = "rose-pine-moon"; theme = "gruvbox-dark-pale";
}; };
}; };

View File

@ -45,19 +45,21 @@ in {
gtk = { gtk = {
enable = true; enable = true;
iconTheme = let iconTheme = let
papirusPackage = name =
if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme) if (lib.strings.hasPrefix "gruvbox" osConfig.module.stylix.theme)
then "Gruvbox-Plus-Dark"
else if config.stylix.polarity == "dark"
then "Papirus-Dark"
else "Papirus-Light";
package =
if (lib.strings.hasPrefix "gruvbox" osConfig.module.stylix.theme)
then pkgs.gruvbox-plus-icons
else if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
then pkgs.papirus-icon-theme.override {color = "indigo";} then pkgs.papirus-icon-theme.override {color = "indigo";}
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme) else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
then pkgs.papirus-icon-theme.override {color = "nordic";} then pkgs.papirus-icon-theme.override {color = "nordic";}
else pkgs.papirus-icon-theme; else pkgs.papirus-icon-theme;
in { in {inherit name package;};
name =
if config.stylix.polarity == "dark"
then "Papirus-Dark"
else "Papirus-Light";
package = papirusPackage;
};
}; };
qt = { qt = {
enable = true; enable = true;

View File

@ -29,6 +29,10 @@
if stateVersion == "24.11" if stateVersion == "24.11"
then pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];} then pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}
else pkgs.nerd-fonts.jetbrains-mono; else pkgs.nerd-fonts.jetbrains-mono;
geistMonoPackage =
if stateVersion == "24.11"
then pkgs.nerdfonts.override {fonts = ["GeistMono"];}
else pkgs.nerd-fonts.geist-mono;
wallpapers = { wallpapers = {
fern-outline = builtins.fetchurl { fern-outline = builtins.fetchurl {
@ -51,6 +55,11 @@
name = "wallhaven-ymo2y7.png"; name = "wallhaven-ymo2y7.png";
sha256 = "1b3j0hxxy8m25scq42lxsxc99xvr15pha1j4wplgz761asrvxly3"; sha256 = "1b3j0hxxy8m25scq42lxsxc99xvr15pha1j4wplgz761asrvxly3";
}; };
nixos-rainbow = builtins.fetchurl {
url = "https://w.wallhaven.cc/full/p9/wallhaven-p9pd23.png";
name = "wallhaven-p9pd23.png";
sha256 = "7CMuETntiVUCKhUIdJzX+sf3F47GvuX2a61o4xbEzww=";
};
}; };
themes = { themes = {
rose-pine-dawn = { rose-pine-dawn = {
@ -80,8 +89,10 @@
wallpaper = wallpapers.cyber-dawn; wallpaper = wallpapers.cyber-dawn;
serif = { serif = {
package = iosevkaPackage; # package = iosevkaPackage;
name = "Iosevka Nerd Font Propo"; # name = "Iosevka Nerd Font Propo";
package = pkgs.geist-font;
name = "Geist Light";
}; };
monospace = { monospace = {
@ -95,6 +106,29 @@
size = 24; size = 24;
}; };
}; };
gruvbox-dark-pale = {
polarity = "dark";
scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
wallpaper = wallpapers.nixos-rainbow;
serif = {
# package = iosevkaPackage;
# name = "Iosevka Nerd Font Propo";
package = pkgs.geist-font;
name = "Geist";
};
monospace = {
package = geistMonoPackage;
name = "GeistMono Nerd Font";
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
};
};
nord = { nord = {
polarity = "dark"; polarity = "dark";
scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml"; scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";