organize
This commit is contained in:
7
services/caddy/default.nix
Normal file
7
services/caddy/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./caddy.nix
|
||||
# KEEP UNTIL 2028
|
||||
./caddy_senior_project.nix
|
||||
];
|
||||
}
|
||||
6
services/jellyfin/default.nix
Normal file
6
services/jellyfin/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./jellyfin.nix
|
||||
./jellyfin-qbittorrent-monitor.nix
|
||||
];
|
||||
}
|
||||
@@ -2,9 +2,10 @@
|
||||
pkgs,
|
||||
service_configs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
lib.mkIf config.services.jellyfin.enable {
|
||||
systemd.services."jellyfin-qbittorrent-monitor" = {
|
||||
description = "Monitor Jellyfin streaming and control qBittorrent rate limits";
|
||||
after = [
|
||||
6
services/llama-cpp/default.nix
Normal file
6
services/llama-cpp/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./llama-cpp.nix
|
||||
./llama-cpp-xmrig-pause.nix
|
||||
];
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
lib.mkIf config.services.llama-cpp.enable {
|
||||
systemd.services.llama-cpp-xmrig-pause = {
|
||||
description = "Pause xmrig while llama-cpp is processing requests";
|
||||
after = [
|
||||
6
services/ntfy/default.nix
Normal file
6
services/ntfy/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./ntfy.nix
|
||||
./ntfy-alerts.nix
|
||||
];
|
||||
}
|
||||
@@ -1,5 +1,10 @@
|
||||
{ config, service_configs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
service_configs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.services.ntfy-sh.enable {
|
||||
services.ntfyAlerts = {
|
||||
enable = true;
|
||||
serverUrl = "https://${service_configs.ntfy.domain}";
|
||||
Reference in New Issue
Block a user