Enable RetroArch on Steam Deck

This commit is contained in:
Invariantspace 2024-03-03 00:11:51 -08:00
parent 202e5c098a
commit f969570492
3 changed files with 33 additions and 14 deletions

View file

@ -1,18 +1,29 @@
{ config, ... }:
{ config, inputs, pkgs, ... }:
let usr = config.constants.userName; in {
let
usr = config.constants.userName;
jovianPkgs = pkgs.extend inputs.jovian.overlays.default;
in {
home-manager.users.${usr}.home.packages = with jovianPkgs; [
(retroarch.override {
cores = with libretro; [
pcsx2
ppsspp
];
})
yuzu
];
jovian = {
decky-loader = {
enable = true;
user = usr;
};
devices.steamdeck.enable = true;
steam = {
enable = true;
autoStart = true;
desktopSession = "plasma";
desktopSession = "gamescope-wayland";
user = usr;
};
};
services.xserver = {
enable = true;
desktopManager.plasma6.enable = true;
};
}