Compare commits

..

No commits in common. "75295e2f46c39179cb60e1c86e69407b224d045b" and "af72005772d4bde94933c07b75259df051168a1c" have entirely different histories.

2 changed files with 2 additions and 16 deletions

View File

@ -90,7 +90,7 @@
users.users.crony = {
isNormalUser = true;
description = "Crony";
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode"];
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "libvirtd"];
};
# Allow unfree packages

View File

@ -1,6 +1,5 @@
{
config,
pkgs,
lib,
...
}: {
@ -14,20 +13,7 @@
# Enable gamescope
programs.steam.gamescopeSession.enable = true;
# Install gamemode
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
softrealtime = "on";
renice = 10;
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
programs.gamemode.enable = true;
# Setup esync
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
security.pam.loginLimits = [