From d92b95c90f7342157cf7b72c3dfc893136ff7c48 Mon Sep 17 00:00:00 2001 From: Toast Date: Wed, 13 Sep 2023 01:15:30 +0200 Subject: [PATCH] SteamDeck: enable steam deck ui and hardware support --- machines/SteamDeck/configuration.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/machines/SteamDeck/configuration.nix b/machines/SteamDeck/configuration.nix index 6c922ec..bfb1605 100755 --- a/machines/SteamDeck/configuration.nix +++ b/machines/SteamDeck/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running `nixos-help`). -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { # Use grub boot loader @@ -42,6 +42,20 @@ pulse.enable = true; }; + jovian = { + devices.steamdeck = { + enable = true; + }; + # Steam Deck UI settings + steam = { + enable = true; + autoStart = true; + user = "toast"; + desktopSession = "plasmawayland"; + }; + }; + services.xserver.displayManager.sddm.enable = lib.mkForce false; + # Configure keymap in X11 # services.xserver.layout = "us"; # services.xserver.xkbOptions = "eurosign:e,caps:escape";