nix/graphical/rice.nix
2025-11-21 17:25:05 +11:00

69 lines
1.3 KiB
Nix

{
pkgs,
localPkgs,
config,
inputs,
getFlakePkg,
...
}:
{
user.packages =
let
inherit (config.rice) icons cursor;
in
icons.pkgs
++ [
cursor.package
];
rice = {
icons =
let
package = pkgs.papirus-icon-theme;
in
{
inherit package;
name = "Papirus-Dark";
pkgs = [
package
];
};
gtk-theme = {
name = "nix-rice";
package = localPkgs.gtk-theme.override { palette = config.rice.palette.shortHex; };
};
borders = {
thickness = 4;
rounding = 10;
gaps = 64;
};
bg = {
src = builtins.path {
name = "wallpaper.jpg";
path = ./rice/wallpaper.jpg;
sha256 = "2db3f9d0397fbd4746ada297bd14c0c7d3e22c7d4e894968fcfece90bbfb902a";
};
};
cursor = {
package = pkgs.afterglow-cursors-recolored.override {
themeVariants = [ "Dracula" ];
draculaColorVariants = [ "Orange" ];
};
name = "Afterglow-Recolored-Dracula-Orange";
};
plymouth = {
theme = "starship";
font = "${config.rice.fonts.sans.package}/share/fonts/truetype/MSW98UI-Regular.ttf";
themePackages = [
(getFlakePkg inputs.hudcore)
];
};
};
}