1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: reactivate tuna

This commit is contained in:
2022-01-28 12:50:23 +01:00
parent fe8af09148
commit 5524f3b92b
3 changed files with 5 additions and 6 deletions

6
flake.lock generated
View File

@@ -158,11 +158,11 @@
"retiolum": {
"flake": false,
"locked": {
"lastModified": 1643137996,
"narHash": "sha256-Fvmq2i8l9drzU91uvHmx0eeqr06/o+y28RgVmwcTYZ4=",
"lastModified": 1643369411,
"narHash": "sha256-FRfEQdRJxVF6w41jgjQXDtK5YxIjDh5S4acA0FbwPyE=",
"owner": "krebs",
"repo": "retiolum",
"rev": "bbed4ffd74987bb9a577ae6290ed446c3f27f594",
"rev": "23e04565a0360d31605a6c6cdc1becb5b9f76f32",
"type": "github"
},
"original": {

View File

@@ -10,7 +10,7 @@
user = config.users.extraUsers.kiosk.name;
extraArguments = [ "-s" ]; # allow vt switching
program =
let startUrls = [ "https://open.spotify.com" "https://youtube.com" "http://bvg.kmein.r" ];
let startUrls = [ "https://youtube.com" "http://radio.kmein.r" ];
in pkgs.writers.writeDash "kiosk-browser" ''
while true; do
${pkgs.brave}/bin/brave \

View File

@@ -81,6 +81,7 @@ in
stations = lib.lists.imap0 (id: {desc ? "", logo ? "https://picsum.photos/seed/${builtins.hashString "md5" stream}/300", stream, station}: { inherit id desc logo stream station; }) streams;
stationsJson = (pkgs.formats.json {}).generate "stations.json" stations;
in {
enable = false;
wantedBy = [ "tuna.service" ];
startAt = "hourly";
script = ''
@@ -95,7 +96,6 @@ in
};
/*
services.nginx = {
enable = true;
recommendedGzipSettings = true;
@@ -110,5 +110,4 @@ in
};
};
};
*/
}