better bar, home assistanct
This commit is contained in:
parent
c34c07fa91
commit
8671a79cde
3 changed files with 33 additions and 3 deletions
|
@ -6,10 +6,11 @@
|
||||||
../../server-security.nix
|
../../server-security.nix
|
||||||
../../tailscale.nix
|
../../tailscale.nix
|
||||||
../cli.nix
|
../cli.nix
|
||||||
./print-server.nix
|
./homeassistant.nix
|
||||||
./restic-server.nix
|
|
||||||
./matrix-server.nix
|
./matrix-server.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
|
./print-server.nix
|
||||||
|
./restic-server.nix
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
29
nixos/boxes/bolty/homeassistant.nix
Normal file
29
nixos/boxes/bolty/homeassistant.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
|
||||||
|
services.home-assistant = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
|
||||||
|
package = (pkgs.home-assistant.override {
|
||||||
|
extraPackages = ps: with ps; [ ];
|
||||||
|
extraComponents = [
|
||||||
|
"api"
|
||||||
|
"auth"
|
||||||
|
"cloud"
|
||||||
|
"config"
|
||||||
|
"default_config"
|
||||||
|
"http"
|
||||||
|
"mobile_app"
|
||||||
|
"onboarding"
|
||||||
|
"search"
|
||||||
|
"ssdp"
|
||||||
|
"system_log"
|
||||||
|
"tts"
|
||||||
|
"websocket_api"
|
||||||
|
"zeroconf"
|
||||||
|
"zwave"
|
||||||
|
];
|
||||||
|
}).overridePythonAttrs { doCheck = false; };
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -93,5 +93,5 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
|
||||||
trend="stable weather"
|
trend="stable weather"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, $trend, later $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
echo "now $(get_icon "$current_icon") $current_text $current_temp($current_feels)$SYMBOL, later $(get_icon "$forecast_icon") $forecast_temp($forecast_feels)$SYMBOL"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue