games: Optimize configuration
This commit is contained in:
parent
a1d79de285
commit
dd7f79a874
4 changed files with 43 additions and 18 deletions
|
@ -1,25 +1,25 @@
|
|||
{ pkgs, username, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./steam.nix
|
||||
];
|
||||
|
||||
programs.gamescope.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
users.users."${username}".extraGroups = [ "gamemode" ];
|
||||
|
||||
nix.settings = inputs.aagl.nixConfig;
|
||||
programs.anime-game-launcher.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
unstable.osu-lazer-bin
|
||||
];
|
||||
|
||||
environment.persistence."/nix/persist" = {
|
||||
users."${username}".directories = [
|
||||
".local/share/steam_home"
|
||||
".local/share/osu"
|
||||
".local/share/an-anime-game-launcher"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
protonup-qt
|
||||
protontricks
|
||||
unstable.osu-lazer-bin
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
nix.settings = inputs.aagl.nixConfig;
|
||||
programs.anime-game-launcher.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue