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
|
||||
../../tailscale.nix
|
||||
../cli.nix
|
||||
./print-server.nix
|
||||
./restic-server.nix
|
||||
./homeassistant.nix
|
||||
./matrix-server.nix
|
||||
./nextcloud.nix
|
||||
./print-server.nix
|
||||
./restic-server.nix
|
||||
];
|
||||
services.syncthing = {
|
||||
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"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue