39 lines
713 B
Nix
39 lines
713 B
Nix
{ self, inputs, ... }: {
|
|
flake.nixosModules.steam = { pkgs, lib, ... }: {
|
|
programs = {
|
|
steam = {
|
|
enable = true;
|
|
gamescopeSession = {
|
|
enable = true;
|
|
};
|
|
};
|
|
gamemode = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
# Proton GE
|
|
environment = {
|
|
sessionVariables = {
|
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
|
|
"/home/alex/.steam/root/compatibilitytools.d";
|
|
};
|
|
};
|
|
|
|
# Programmes requis
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
mangohud
|
|
protonup-ng
|
|
protonup-qt
|
|
protontricks
|
|
protonplus
|
|
#lutris
|
|
#heroic
|
|
#bottles
|
|
prismlauncher
|
|
];
|
|
};
|
|
}
|
|
}
|