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

@ -6,11 +6,14 @@
{
# Configuration boot
boot.loader = {
boot = {
initrd.systemd.enable = true;
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
timeout = 0;
};
};
# Change secrets file
constants.sopsFile = ../../common/auths.yaml;

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;
};
}

View file

@ -1,10 +1,15 @@
{ ... }:
{ config, ... }:
{
networking = {
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
hostId = "74247225";
networkmanager.enable = true;
networkmanager = {
enable = true;
wifi.backend = "iwd";
};
nftables.enable = true;
wireless.iwd.enable = true;
};
services.openssh.enable = true;
}