functional home assistant

This commit is contained in:
mjallen18
2025-07-18 14:50:13 -05:00
parent 407f8ede87
commit 91be65bc39
41 changed files with 337 additions and 304 deletions

View File

@@ -1,5 +1,8 @@
{ pkgs, ... }:
{ config, lib, namespace, ... }:
with lib;
let
cfg = config.mjallen.desktop.extra.waybar;
waybar-weather = pkgs.writeScriptBin "waybar-weather" ''
#!/usr/bin/env nix-shell
#! nix-shell -i python3 --pure
@@ -429,5 +432,9 @@ let
'';
in
{
home.packages = [ waybar-weather ];
imports = [ ../options.nix ];
config = lib.mkIf cfg.enable {
home.packages = [ waybar-weather ];
};
}