Compare commits

..
1 Commits
Author SHA1 Message Date
oqyude fe391211c4 path refactoring 2026-08-08 22:51:51 +03:00
5 changed files with 5 additions and 42 deletions
+1 -2
View File
@@ -4,7 +4,6 @@
}: }:
{ {
imports = [ imports = [
../containers/3x-ui.nix
../software/beets ../software/beets
./acme.nix ./acme.nix
./bentopdf.nix ./bentopdf.nix
@@ -24,9 +23,9 @@
./postgresql.nix ./postgresql.nix
./power.nix ./power.nix
./samba.nix ./samba.nix
# ./step-ca.nix
./syncthing.nix ./syncthing.nix
./systemd.nix ./systemd.nix
# ./step-ca.nix
# ../containers/remnawave.nix # ../containers/remnawave.nix
# ./coturn.nix # ./coturn.nix
# ./mealie.nix # ./mealie.nix
+1 -15
View File
@@ -6,9 +6,6 @@
xlib, xlib,
... ...
}: }:
let
navidromeDir = "/var/lib/services/navidrome-point";
in
{ {
services = { services = {
navidrome = { navidrome = {
@@ -18,19 +15,8 @@ in
settings = { settings = {
Address = "0.0.0.0"; Address = "0.0.0.0";
Port = 4533; Port = 4533;
MusicFolder = "${navidromeDir}"; MusicFolder = "/mnt/beets/music";
}; };
}; };
}; };
systemd.mounts = [
{
enable = true;
options = "bind,x-systemd.automount,nofail";
requires = [ "local-fs.target" ];
type = "none";
wantedBy = [ "multi-user.target" ];
what = "${xlib.dirs.server-home}/Music";
where = "${navidromeDir}";
}
];
} }
-22
View File
@@ -64,28 +64,6 @@ in
client_max_body_size 5G; client_max_body_size 5G;
''; '';
}; };
"x.zeroq.su" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://${server}:2049";
proxyWebsockets = true;
};
"/subs/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
"/subsjs/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
"/clash/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
};
};
# "pdf.home.arpa" = { # "pdf.home.arpa" = {
# forceSSL = true; # forceSSL = true;
# enableACME = true; # enableACME = true;
+2 -2
View File
@@ -17,7 +17,7 @@ in
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"pubray1.zeroq.su" = { "x.zeroq.su" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations = { locations = {
@@ -45,7 +45,7 @@ in
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
defaults = { defaults = {
email = "oqyude@gmail.com"; email = "go.bin043120@gmail.com";
}; };
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [