pacifidlog: add hdd-decky

This commit is contained in:
Aly Raffauf 2024-10-13 16:30:57 -04:00
parent be30293153
commit 8a64deb5c3

View file

@ -2,6 +2,7 @@
{ {
config, config,
lib, lib,
pkgs,
self, self,
... ...
}: { }: {
@ -57,6 +58,39 @@
jovian.decky-loader = { jovian.decky-loader = {
enable = true; enable = true;
user = "aly"; 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"; networking.hostName = "pacifidlog";