diff --git a/hosts/pacifidlog/default.nix b/hosts/pacifidlog/default.nix index 5fa593c1..df325004 100644 --- a/hosts/pacifidlog/default.nix +++ b/hosts/pacifidlog/default.nix @@ -2,6 +2,7 @@ { config, lib, + pkgs, self, ... }: { @@ -57,6 +58,39 @@ jovian.decky-loader = { enable = true; user = "aly"; + stateDir = "/home/aly/.local/share/decky"; # Keep scoped to user + package = pkgs.decky-loader; + + extraPackages = with pkgs; [ + # Generic packages + curl + unzip + util-linux + gnugrep + + readline.out + procps + pciutils + libpulseaudio + + # SimpleDeckyTDP | TODO: Remove once hhd TDP control is verified + ryzenadj # actual TDP util + kmod # modprobe for acpi_call check + ]; + + extraPythonPackages = pythonPackages: + with pythonPackages; [ + pyyaml # hhd-decky + ]; + + plugins = { + "hhd-decky" = { + src = fetchTarball { + url = "https://github.com/hhd-dev/hhd-decky/releases/download/v0.1.0/hhd-decky.tar.gz"; + sha256 = "15gpll079gwnx21gjf6qivb36dzpnrx58dkbpk0xnjjx2q0bcc47"; + }; + }; + }; }; networking.hostName = "pacifidlog";