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

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
};
};
};
*/
}