fix(Zephyrus): Enabled back steam
user for steam specialization
Previous issue was somehow fixed
This commit is contained in:
parent
fcab610270
commit
cc00b335a0
1 changed files with 18 additions and 0 deletions
|
@ -90,10 +90,27 @@
|
||||||
|
|
||||||
# Steam specialisation
|
# Steam specialisation
|
||||||
specialisation.steam.configuration = {
|
specialisation.steam.configuration = {
|
||||||
|
system.nixos.tags = ["steam"];
|
||||||
|
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;
|
||||||
capSysNice = true;
|
capSysNice = true;
|
||||||
|
env = {
|
||||||
|
XKB_DEFAULT_LAYOUT = "fr";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -104,6 +121,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
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