fix(Zephyrus): ff steam user for steam specialization

This commit is contained in:
GaspardCulis 2024-10-27 11:01:51 +01:00
parent 10b8d4d327
commit 60d72f7a44

View file

@ -90,21 +90,6 @@
# Steam specialisation
specialisation.steam.configuration = {
users.groups.steam = {
name = "steam";
};
users.users.steam = {
isNormalUser = true;
createHome = true;
extraGroups = [
"video"
"seat"
"audio"
"gamemode"
"networkmanager"
];
group = "steam";
};
programs = {
gamescope = {
enable = true;
@ -119,7 +104,6 @@
};
};
hardware.xone.enable = true; # support for the xbox controller USB dongle
services.getty.autologinUser = "steam";
environment = {
loginShellInit = ''
[[ "$(tty)" = "/dev/tty1" ]] && ${(pkgs.writeShellScript "gs.sh" "${builtins.readFile ../../bin/gs.sh}")}