Merge pull request #81 from naturallaw777/copilot/add-sovran-hub-desktop-entry

Add sovran-hub.desktop entry and icon for GNOME dock
This commit is contained in:
Sovran_Systems
2026-04-05 11:58:33 -05:00
committed by GitHub

View File

@@ -230,6 +230,22 @@ let
install -d $out/share/sovran-hub/icons install -d $out/share/sovran-hub/icons
cp icons/* $out/share/sovran-hub/icons/ 2>/dev/null || true cp icons/* $out/share/sovran-hub/icons/ 2>/dev/null || true
install -d $out/share/icons/hicolor/scalable/apps
cp sovran_systemsos_web/static/logo-light.svg $out/share/icons/hicolor/scalable/apps/sovran-hub.svg
install -d $out/share/applications
cat > $out/share/applications/sovran-hub.desktop <<DESKTOP
[Desktop Entry]
Type=Application
Name=Sovran Hub
Comment=Open Sovran_SystemsOS Hub dashboard
Exec=xdg-open http://localhost:8937
Icon=sovran-hub
Terminal=false
Categories=System;
StartupNotify=false
DESKTOP
install -d $out/bin install -d $out/bin
cat > $out/bin/sovran-hub-web <<LAUNCHER cat > $out/bin/sovran-hub-web <<LAUNCHER
#!${pkgs.python3}/bin/python3 #!${pkgs.python3}/bin/python3
@@ -293,6 +309,8 @@ in
}; };
}; };
environment.systemPackages = [ sovran-hub-web ];
networking.firewall.allowedTCPPorts = [ 3051 8937 60847 ]; networking.firewall.allowedTCPPorts = [ 3051 8937 60847 ];
}; };