feat: add manual homepage services file
This commit is contained in:
@@ -9,6 +9,7 @@ let
|
|||||||
dashboardPort = 8082;
|
dashboardPort = 8082;
|
||||||
dashboardHost = config.networking.hostName;
|
dashboardHost = config.networking.hostName;
|
||||||
dashboardUrl = "http://${dashboardHost}:${toString dashboardPort}";
|
dashboardUrl = "http://${dashboardHost}:${toString dashboardPort}";
|
||||||
|
manualServices = import ./manual-services.nix;
|
||||||
|
|
||||||
groupedServices =
|
groupedServices =
|
||||||
lib.foldl'
|
lib.foldl'
|
||||||
@@ -88,7 +89,7 @@ in
|
|||||||
listenPort = dashboardPort;
|
listenPort = dashboardPort;
|
||||||
allowedHosts = "${dashboardHost}:${toString dashboardPort},localhost:${toString dashboardPort},127.0.0.1:${toString dashboardPort},jupiter.solar.internal:${toString dashboardPort}";
|
allowedHosts = "${dashboardHost}:${toString dashboardPort},localhost:${toString dashboardPort},127.0.0.1:${toString dashboardPort},jupiter.solar.internal:${toString dashboardPort}";
|
||||||
bookmarks = import ./bookmarks.nix;
|
bookmarks = import ./bookmarks.nix;
|
||||||
services = homepageServices;
|
services = homepageServices ++ manualServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.finn.packages = with pkgs; [
|
users.users.finn.packages = with pkgs; [
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[
|
||||||
|
# Example:
|
||||||
|
# {
|
||||||
|
# "Infrastructure" = [
|
||||||
|
# {
|
||||||
|
# "Proxmox" = {
|
||||||
|
# href = "https://proxmox.example.local";
|
||||||
|
# description = "Virtualization host";
|
||||||
|
# icon = "proxmox.png";
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# }
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user