feat: Homepage

This commit is contained in:
marthsincemelee
2025-12-23 17:41:53 +01:00
parent bc87844e76
commit 9ec2df1afa
2 changed files with 9 additions and 4 deletions
+8 -4
View File
@@ -10,15 +10,19 @@ in
{
options.my.profiles.homepage = with lib; {
homepage = mkEnableOption "getHomepage.dev";
enable = mkEnableOption "getHomepage.dev Dashboard";
};
config = lib.mkIf cfg.homepage {
services.homepage-dashboard.enable = true;
config = lib.mkIf cfg.enable {
services.homepage-dashboard = {
enable = true;
allowedHosts = "jupiter.solar.internal:8082";
# listenPort = 80; # default 8082
};
users.users.finn.packages = with pkgs; [
homepage-dashboard
];
programs.chromium.homepageLocation = "http://jupiter.solar.internal";
programs.chromium.homepageLocation = "http://jupiter.solar.internal:8082";
};
}