feat(#2228): add XDG icon set and .desktop entries for hyperhive processes
Adds hive-xdg-icons package (nix/packages/hive-xdg-icons.nix) that rasterizes the branding SVG to all standard hicolor sizes (16–256px) and installs /usr/share/pixmaps/hyperhive.png as a flat fallback. Ships .desktop entries for hive-c0re and hive-ag3nt with NoDisplay=true so desktop environments can match running processes to their icon without cluttering the application launcher. Narrow drv input: only ./branding/hyperhive.svg, so unrelated source changes don't bust the cache. Wired into environment.systemPackages in hive-c0re.nix (host side) so the icons are present wherever hive-c0re is deployed. Closes #2228
This commit is contained in:
parent
fa944d1213
commit
64eddfd0b6
3 changed files with 96 additions and 0 deletions
|
|
@ -236,6 +236,12 @@
|
|||
# nix/reference-docs.nix. (`docs` above is the auto-generated
|
||||
# nix-options reference, a different artifact.)
|
||||
reference-docs = pkgs.callPackage ./nix/reference-docs.nix { };
|
||||
# XDG icon set + .desktop entries for hyperhive processes.
|
||||
# Narrow input: only the branding SVG, so unrelated source changes
|
||||
# don't bust this derivation's cache.
|
||||
xdg-icons = pkgs.callPackage ./nix/packages/hive-xdg-icons.nix {
|
||||
hyperhiveSvg = ./branding/hyperhive.svg;
|
||||
};
|
||||
# Pre-built per-container system closures. Exposed as packages
|
||||
# so operators can `nix build .#agent-base-toplevel` (or wire
|
||||
# them into their host system closure via the
|
||||
|
|
@ -298,6 +304,7 @@
|
|||
hyperhivePackage = system: self.packages.${system}.default;
|
||||
hyperhiveFrontend = system: self.packages.${system}.frontend;
|
||||
hyperhiveAssets = system: self.packages.${system}.assets;
|
||||
hyperhiveXdgIcons = system: self.packages.${system}.xdg-icons;
|
||||
hyperhiveFlake = "${hyperhiveFlakeSource}";
|
||||
# Narrow docs/ source, threaded as its own meta-flake input so
|
||||
# doc edits don't re-hash the whole flake source.
|
||||
|
|
|
|||
Loading…
Reference in a new issue