Files
homelab/pkgs/amy-dark-icons.nix
darman faaf24ddc0 terra: cosmic portals, jupiter smb mount, tea CLI, launcher/theme polish
- swap gtk portal/apps for cosmic (xdg-desktop-portal-cosmic, cosmic-files,
  cosmic-settings) and drop dolphin/protonplus/bambu-studio (bambu-studio
  moved to flatpak alongside the other comms/gaming flatpaks)
- mount jupiter's samba share at /mnt/jupiter (automount, credentials from
  the same samba_password secret jupiter itself uses)
- add tea (gitea's remote API CLI) for talking to git.mgaction.town from
  terra without SSHing into jupiter
- new dark icon themes (Amy, Azure Glassy, Slot Beauty) vendored from
  gnome-look.org tarballs, packaged since pling download links expire
- rishot: fix Qt5Compat.GraphicalEffects QML import (was missing qt6.qt5compat
  on QML_IMPORT_PATH, so quickshell failed at config-load)
- launcher widgets: stop LauncherConsole/LauncherDock from reserving
  compositor space (ExclusionMode.Ignore, they're overlays not real docks);
  bump LauncherCorner app icon size 28->34
- comms script: launch telegram/discord via flatpak, not native binaries
- nix-ld + boot.binfmt aarch64 emulation (for building/flashing mercury
  from terra)
2026-07-29 21:43:43 +02:00

44 lines
1.6 KiB
Nix

{ lib, stdenvNoCC, gtk3 }:
# Amy-Dark-Icons (gnome-look.org/p/2011598), not packaged in nixpkgs.
# gnome-look/pling download links are signed JWTs that expire in ~2 days, so
# fetchurl against one would work today and fail on the next rebuild after
# that window — the tarball is vendored into the repo instead, as verified
# (md5 51bae6972100a36151edd660ba7bf3fa against the gnome-look API's
# reported checksum) at dotfiles/icons/Amy-Dark-Icons.tar.xz.
stdenvNoCC.mkDerivation {
pname = "amy-dark-icons";
version = "unstable-2026-07-12";
src = ../dotfiles/icons/Amy-Dark-Icons.tar.xz;
nativeBuildInputs = [ gtk3 ];
dontBuild = true;
# Upstream ships dozens of dangling symlinks (icons aliased across sizes
# that don't all exist) — same class of minor packaging bug as
# azure-glassy-dark-icons. Harmless: GTK/Qt icon lookup falls through to
# the theme's own Inherits= chain (breeze, hicolor, Adwaita) for those.
dontCheckForBrokenSymlinks = true;
# gtk3's setup hook strips icon-theme.cache from $out by default
# (postFixup); opt back out, matching nixpkgs' papirus-icon-theme.
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p "$out/share/icons"
cp -r . "$out/share/icons/Amy-Dark-Icons"
gtk-update-icon-cache --force "$out/share/icons/Amy-Dark-Icons"
runHook postInstall
'';
meta = {
description = "Amy dark icon theme, vendored from gnome-look.org (not packaged in nixpkgs)";
homepage = "https://www.gnome-look.org/p/2011598";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
};
}