From 6597f93beceadeba6bcfc22fd021b72c9febf088 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Thu, 27 Feb 2025 12:17:56 -0600 Subject: [PATCH] python steam or something --- hosts/homeassistant/configuration.nix | 1 + hosts/homeassistant/homeassistant.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/hosts/homeassistant/configuration.nix b/hosts/homeassistant/configuration.nix index dc80859..40f422b 100644 --- a/hosts/homeassistant/configuration.nix +++ b/hosts/homeassistant/configuration.nix @@ -95,6 +95,7 @@ in vim htop git + protonmail-bridge ]; services.openssh.enable = true; diff --git a/hosts/homeassistant/homeassistant.nix b/hosts/homeassistant/homeassistant.nix index 8fb8936..96fe995 100644 --- a/hosts/homeassistant/homeassistant.nix +++ b/hosts/homeassistant/homeassistant.nix @@ -95,6 +95,22 @@ let cp -r custom_components/wyzeapi $out/custom_components/ ''; }; + + # In configuration.nix or a separate file + pythonPackages.steam = pythonPackages.buildPythonPackage rec { + pname = "steam"; + version = "1.4.4"; # Use the appropriate version + + src = pythonPackages.fetchPypi { + inherit pname version; + sha256 = lib.fakeHash; # Add the correct SHA hash + }; + + # Dependencies if needed + propagatedBuildInputs = with pythonPackages; [ + # Add dependencies + ]; + }; in { services.home-assistant = {