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 = { users.users.crony = {
isNormalUser = true; isNormalUser = true;
description = "Crony"; description = "Crony";
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode"]; extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "libvirtd"];
}; };
# Allow unfree packages # Allow unfree packages

View File

@ -1,6 +1,5 @@
{ {
config, config,
pkgs,
lib, lib,
... ...
}: { }: {
@ -14,20 +13,7 @@
# Enable gamescope # Enable gamescope
programs.steam.gamescopeSession.enable = true; programs.steam.gamescopeSession.enable = true;
# Install gamemode # Install gamemode
programs.gamemode = { programs.gamemode.enable = true;
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'";
};
};
};
# Setup esync # Setup esync
systemd.extraConfig = "DefaultLimitNOFILE=1048576"; systemd.extraConfig = "DefaultLimitNOFILE=1048576";
security.pam.loginLimits = [ security.pam.loginLimits = [