From 8a64deb5c3615d058cc6290e04fd54c6bbb9c0d2 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 13 Oct 2024 16:30:57 -0400 Subject: [PATCH] pacifidlog: add hdd-decky --- hosts/pacifidlog/default.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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";