1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 12:51:08 +01:00

3 Commits

3 changed files with 3 additions and 12 deletions

View File

@@ -79,7 +79,8 @@ in {
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull; # for bluetooth sound output
package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
# copy server:/run/pulse/.config/pulse/cookie to client:~/.config/pulse/cookie to authenticate a client machine
zeroconf.discovery.enable = true;
extraConfig = ''

View File

@@ -44,6 +44,7 @@
"yinyin".pskRaw = "ee85005d339df61e1e1a8484b96318513e15c46f222c3c06e8959fbc256569e7";
"Light Hope".psk = "FriendsofMara63069!";
"WG-Jung".psk = "BerlinMadridParisTokyo";
"FRITZ!Box 7590 NT".psk = "90699935547611192380";
};
};

View File

@@ -91,17 +91,6 @@ in {
units = "metric";
};
}
{
block = "custom";
interval = 60 * 60;
command =
let
area = "states"; # "districts";
code = "BE"; # "11007";
in pkgs.writers.writeDash "incidence" ''
${pkgs.curl}/bin/curl -sSL https://api.corona-zahlen.org/${area}/${code} | ${pkgs.jq}/bin/jq -r '.data.${code} | "📈 \(.name): \(.weekIncidence | floor)"'
'';
}
{
block = "custom";
interval = 30;