diff --git a/systems/muninn/default.nix b/systems/muninn/default.nix index 9812cc1..bfb7d89 100644 --- a/systems/muninn/default.nix +++ b/systems/muninn/default.nix @@ -12,8 +12,6 @@ inputs.nixos-hardware.nixosModules.framework-11th-gen-intel ]; - environment.loginShellInit = ''[[ "$(tty)" = "/dev/tty1" ]] && ${./gamescope.sh}''; - networking = { hostName = "muninn"; hostId = "a43179c5"; @@ -32,7 +30,18 @@ security.rtkit.enable = true; services = { - getty.autologinUser = "gaming"; + displayManager = { + sddm = { + enable = true; + wayland.enable = true; + }; + enable = true; + autoLogin = { + user = "gaming"; + enable = true; + }; + defaultSession = "steam"; + }; openssh.ports = [ 295 ]; diff --git a/systems/muninn/gamescope.sh b/systems/muninn/gamescope.sh deleted file mode 100755 index 10349cd..0000000 --- a/systems/muninn/gamescope.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -set -xeuo pipefail - -gamescopeArgs=( - --adaptive-sync # VRR support - --hdr-enabled - --rt - --steam -) - -steamArgs=( - -pipewire-dmabuf - -tenfoot -) - -exec gamescope "${gamescopeArgs[@]}" -- steam "${steamArgs[@]}"