mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
remove gitea/homer/jellyfin static services
This commit is contained in:
parent
87070966a0
commit
94ad1ac0f0
3 changed files with 0 additions and 85 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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"; }
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue