Enable RetroArch on Steam Deck
This commit is contained in:
parent
202e5c098a
commit
f969570492
3 changed files with 33 additions and 14 deletions
|
|
@ -6,11 +6,14 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
# Configuration boot
|
# Configuration boot
|
||||||
boot.loader = {
|
boot = {
|
||||||
|
initrd.systemd.enable = true;
|
||||||
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
timeout = 0;
|
timeout = 0;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Change secrets file
|
# Change secrets file
|
||||||
constants.sopsFile = ../../common/auths.yaml;
|
constants.sopsFile = ../../common/auths.yaml;
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
jovian = {
|
||||||
|
decky-loader = {
|
||||||
|
enable = true;
|
||||||
|
user = usr;
|
||||||
|
};
|
||||||
devices.steamdeck.enable = true;
|
devices.steamdeck.enable = true;
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
desktopSession = "plasma";
|
desktopSession = "gamescope-wayland";
|
||||||
user = usr;
|
user = usr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
desktopManager.plasma6.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,15 @@
|
||||||
{ ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
|
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||||
hostId = "74247225";
|
hostId = "74247225";
|
||||||
networkmanager.enable = true;
|
networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
wifi.backend = "iwd";
|
||||||
|
};
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
|
wireless.iwd.enable = true;
|
||||||
};
|
};
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue