Compare commits

...

2 commits

Author SHA1 Message Date
Stefan Kempinger
63731df4dd Adjust weather widget and add libwebp package
Stop appending wind_speed_unit in weather.forecast_home value to avoid
duplicating units (the attribute already supplies the units). Also add
libwebp to the kemptop package list for WebP image support.
2026-02-05 15:58:42 +01:00
Stefan Kempinger
4f0c4eee24 remove dead code 2026-02-05 13:16:58 +01:00
3 changed files with 3 additions and 14 deletions

View file

@ -75,8 +75,6 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
git git
nil nil
nixd nixd
@ -104,21 +102,11 @@
enable = true; enable = true;
user = "kemp"; user = "kemp";
program = "${pkgs.writeScriptBin "start-cage-app" '' program = "${pkgs.writeScriptBin "start-cage-app" ''
#!/usr/bin/env bash
# kmsprint |
# grep '(connected)' |
# sed -E 's/.* ([^ ]+) \(connected\).*/\1/' |
# while read -r output; do
# wlr-randr --output "$output" --transform 180
# done
exec ${pkgs.firefox}/bin/firefox exec ${pkgs.firefox}/bin/firefox
''}/bin/start-cage-app"; ''}/bin/start-cage-app";
}; };
services.getty.loginProgram = "${pkgs.coreutils}/bin/true"; services.getty.loginProgram = "${pkgs.coreutils}/bin/true";
services.udev.extraRules = ''
# ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
'';
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = { settings = {

View file

@ -577,7 +577,7 @@
{ {
state = "weather.forecast_home"; state = "weather.forecast_home";
label = "Windgeschwindigkeit"; label = "Windgeschwindigkeit";
value = "{attributes.wind_speed} {attributes.wind_speed_unit}"; value = "{attributes.wind_speed}";
} }
{ {
state = "sensor.load_power"; state = "sensor.load_power";

View file

@ -139,6 +139,7 @@
wireguard-tools wireguard-tools
diffoscope diffoscope
nix-index nix-index
libwebp
# GUI programs # GUI programs