nixos/home/pkgs/sweet-folder-theme/default.nix
Evie Litherland-Smith 8ca2053944 Reorganise a lot of things, clean up some files
Pull program expressions inside hyprland directory (e.g. rofi, waybar,
etc...) up one level.

Convert everything into package-name/default.nix format for
consistency

Move common home imports from flake.nix into hyprland/default.nix,
flake.nix now only defaults into importing hyprland, to be consistent
with how system imports work

Remove some old files: calendar and contact setup, sweet theme pkgs

Move xdg.configFile expressions from home/default.nix into a
config/default.nix, keeping the files to be linked in the config dir
as well (still need to do ipython though)
2024-01-28 12:01:18 +00:00

39 lines
886 B
Nix

{ stdenvNoCC, fetchFromGitHub, gtk3, candy-icon-theme, gnome-icon-theme
, ubuntu-themes, cinnamon, elementary-xfce-icon-theme }:
stdenvNoCC.mkDerivation rec {
pname = "sweet-folder-theme";
version = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
dontBuild = true;
src = fetchFromGitHub {
owner = "EliverLara";
repo = "Sweet-folders";
rev = version;
sha256 = "sha256-QexfqXH5a1IEhKBRjWSMdrEvThvLRzd4M32Xti1DCGE=";
};
nativeBuildInputs = [ gtk3 ];
buildInputs = [
candy-icon-theme
gnome-icon-theme
ubuntu-themes
cinnamon.mint-x-icons
elementary-xfce-icon-theme
];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
mv Sweet-Rainbow $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache --force $theme
done
runHook postInstall
'';
}