mirror of
https://github.com/kmein/niveum
synced 2026-03-22 12:51:08 +01:00
Compare commits
3 Commits
a133f2bb3d
...
aac96c00bf
| Author | SHA1 | Date | |
|---|---|---|---|
| aac96c00bf | |||
| 97e61f6eb1 | |||
| 3cb211c682 |
@@ -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 = ''
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
"yinyin".pskRaw = "ee85005d339df61e1e1a8484b96318513e15c46f222c3c06e8959fbc256569e7";
|
||||
"Light Hope".psk = "FriendsofMara63069!";
|
||||
"WG-Jung".psk = "BerlinMadridParisTokyo";
|
||||
"FRITZ!Box 7590 NT".psk = "90699935547611192380";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user