From ce1e792382542029894f3ba569d3b798b8a45305 Mon Sep 17 00:00:00 2001 From: macronova Date: Sun, 3 Mar 2024 00:11:51 -0800 Subject: [PATCH] Enable RetroArch on Steam Deck --- linux/protostar/configuration.nix | 11 +++++++---- linux/protostar/gui.nix | 9 ++++++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/linux/protostar/configuration.nix b/linux/protostar/configuration.nix index d64b1a7..2342a7a 100644 --- a/linux/protostar/configuration.nix +++ b/linux/protostar/configuration.nix @@ -6,10 +6,13 @@ { # Configuration boot - boot.loader = { - efi.canTouchEfiVariables = true; - systemd-boot.enable = true; - timeout = 0; + boot = { + initrd.systemd.enable = true; + loader = { + efi.canTouchEfiVariables = true; + systemd-boot.enable = true; + timeout = 0; + }; }; # Change secrets file diff --git a/linux/protostar/gui.nix b/linux/protostar/gui.nix index a2e82f9..866d9f1 100644 --- a/linux/protostar/gui.nix +++ b/linux/protostar/gui.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: let usr = config.constants.userName; in { jovian = { @@ -6,13 +6,16 @@ let usr = config.constants.userName; in { steam = { enable = true; autoStart = true; - desktopSession = "plasma"; + desktopSession = "RetroArch"; user = usr; }; }; services.xserver = { enable = true; - desktopManager.plasma6.enable = true; + desktopManager.retroarch = { + enable = true; + package = pkgs.retroarchFull; + }; }; }