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