mirror of
https://github.com/kmein/niveum
synced 2026-03-29 08:41:07 +02:00
Compare commits
2 Commits
9dae3e2d1a
...
8a45abae35
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a45abae35 | |||
| e046c74539 |
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"url": "https://github.com/krebs/retiolum",
|
"url": "https://github.com/krebs/retiolum",
|
||||||
"rev": "aa6ff5e73bc6127676b79d5d9166279a135d667c",
|
"rev": "108c668bba912214d5aa1cf091573e0c18d02e37",
|
||||||
"date": "2021-11-30T23:32:16+01:00",
|
"date": "2021-12-08T13:02:16+01:00",
|
||||||
"path": "/nix/store/7p7aa7ik2jc5csgvalw397lhpzvzgjg4-retiolum",
|
"path": "/nix/store/837jzivn8ndxaz87yx88a51myir8j7wg-retiolum",
|
||||||
"sha256": "0rn113kxx1nk9zcjx0rfjjy002zvqrnk0lki6wlnlimqx8wjdb59",
|
"sha256": "0948rcwdwimgyrjbi9h8xlh99p4di6v9rw98bnmczsjcc0avvmdb",
|
||||||
|
"fetchLFS": false,
|
||||||
"fetchSubmodules": false,
|
"fetchSubmodules": false,
|
||||||
"deepClone": false,
|
"deepClone": false,
|
||||||
"leaveDotGit": false
|
"leaveDotGit": false
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
davHome = "~/.local/share/dav";
|
davHome = "~/.local/share/dav";
|
||||||
kmeinCloud = {
|
kmeinCloud = {
|
||||||
davEndpoint = "https://cloud.xn--kiern-0qa.de/remote.php/dav";
|
davEndpoint = "https://cloud.kmein.de/remote.php/dav";
|
||||||
username = "kieran";
|
username = "kieran";
|
||||||
password = lib.fileContents <secrets/nextcloud/password>;
|
password = lib.fileContents <secrets/nextcloud/password>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ in
|
|||||||
startAt = "05:00:00";
|
startAt = "05:00:00";
|
||||||
};
|
};
|
||||||
|
|
||||||
hostName = "cloud.xn--kiern-0qa.de";
|
hostName = "cloud.kmein.de";
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
overwriteProtocol = "https";
|
overwriteProtocol = "https";
|
||||||
@@ -43,7 +43,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."cloud.xn--kiern-0qa.de" = {
|
services.nginx.virtualHosts."cloud.kmein.de" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ in
|
|||||||
] ++ (lib.mapAttrsToList (name: station: {
|
] ++ (lib.mapAttrsToList (name: station: {
|
||||||
"= /${name}/status".proxyPass = "http://127.0.0.1:${toString htgenPort}";
|
"= /${name}/status".proxyPass = "http://127.0.0.1:${toString htgenPort}";
|
||||||
"= /${name}/listen.ogg".proxyPass = "http://127.0.0.1:${toString station.streamPort}";
|
"= /${name}/listen.ogg".proxyPass = "http://127.0.0.1:${toString station.streamPort}";
|
||||||
"= /${name}.ogg".return = "301 http://radio.xn--kiern-0qa.de/${name}/listen.ogg"; # legacy
|
"= /${name}.ogg".return = "301 http://radio.kmein.de/${name}/listen.ogg"; # legacy
|
||||||
}) stations)
|
}) stations)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user