SteamDeck: enable steam deck ui and hardware support

This commit is contained in:
Toast 2023-09-13 01:15:30 +02:00
parent 73f9f12489
commit d92b95c90f

View file

@ -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";