fix(Zephyrus): ff steam user for steam specialization
This commit is contained in:
parent
10b8d4d327
commit
60d72f7a44
1 changed files with 0 additions and 16 deletions
|
@ -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}")}
|
||||||
|
|
Loading…
Reference in a new issue