remove gitea/homer/jellyfin static services

This commit is contained in:
Felix Buehler 2022-11-29 18:46:34 +01:00
parent 87070966a0
commit 94ad1ac0f0
3 changed files with 0 additions and 85 deletions

View file

@ -1,22 +0,0 @@
{ config, pkgs, ... }:
{
services.gitea = {
enable = true;
cookieSecure = true;
httpPort = 3001;
rootUrl = "https://git.buehler.rocks/";
log.level = "Warn";
disableRegistration = true;
settings = {
ui.DEFAULT_THEME = "arc-green";
};
};
webapps.apps.gitea = {
dashboard = {
name = "Git";
category = "app";
icon = "git";
link = "https://git.buehler.rocks";
};
};
}

View file

@ -1,42 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
homeConfig = {
title = "Dashboard";
header = false;
footer = false;
connectivityCheck = true;
colums = "auto";
services = config.lib.webapps.homerServices;
};
in
{
networking.firewall.allowedTCPPorts = [
80
443
];
services.nginx = {
enable = true;
#virtualHosts."dashboard.rocks" = {
virtualHosts."_" = {
default = true;
locations = {
"/" = {
root = homer;
};
"=/assets/config.yml" = {
alias = pkgs.writeText "homerConfig.yml" (builtins.toJSON homeConfig);
};
};
};
};
webapps = {
dashboardCategories = [
{ name = "Applications"; tag = "app"; }
{ name = "Media-Management"; tag = "manag"; }
{ name = "Infrastructure"; tag = "infra"; }
];
};
}

View file

@ -1,21 +0,0 @@
{ config, pkgs, ... }:
{
services.jellyfin = {
enable = true;
openFirewall = true;
};
systemd.services.jellyfin = {
after = [ "network-online.target" ];
#unitConfig.RequiresMountsFor = [ "/storage" ];
};
webapps.apps.jellyfin = {
dashboard = {
name = "Jellyfin";
category = "app";
icon = "film";
link = "http://192.168.178.60:8096";
};
};
}