53 lines
978 B
Nix
53 lines
978 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
jovian = {
|
|
decky-loader = {
|
|
enable = true;
|
|
user = "willifan";
|
|
extraPackages = with pkgs; [
|
|
# Generic packages
|
|
curl
|
|
unzip
|
|
util-linux
|
|
gnugrep
|
|
|
|
readline.out
|
|
procps
|
|
pciutils
|
|
libpulseaudio
|
|
|
|
# SimpleDeckyTDP
|
|
ryzenadj # actual TDP util
|
|
kmod # modprobe for acpi_call check
|
|
];
|
|
extraPythonPackages = pythonPackages: with pythonPackages; [
|
|
pyyaml # hhd-decky
|
|
aiohttp
|
|
certifi
|
|
];
|
|
};
|
|
devices.steamdeck = {
|
|
enable = true;
|
|
enableGyroDsuService = true;
|
|
};
|
|
hardware.has.amd.gpu = true;
|
|
steam = {
|
|
enable = true;
|
|
user = "willifan";
|
|
autoStart = true;
|
|
desktopSession = "niri";
|
|
};
|
|
};
|
|
|
|
services.logind = {
|
|
extraConfig = "";
|
|
powerKey = "sleep";
|
|
powerKeyLongPress = "poweroff";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
python3
|
|
];
|
|
|
|
}
|