34 lines
833 B
Nix
34 lines
833 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.steam = {
|
|
enable = true;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
# Doubt that I'll use it, but I'll enable it anyways
|
|
remotePlay.openFirewall = true;
|
|
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
};
|
|
|
|
# Some linux native games (rise of the tomb raider) use alsa for sound
|
|
services.pipewire.alsa.enable =
|
|
if config.services.pipewire.pulse.enable == true
|
|
then true
|
|
else false;
|
|
|
|
home-manager.users.toast = {
|
|
systemd.user.tmpfiles.rules = [
|
|
"r '/%h/.local/share/applications/Steam Linux Runtime *.desktop'"
|
|
"r '/%h/.local/share/applications/Proton *.desktop'"
|
|
];
|
|
services.flatpak.packages = [
|
|
# Celeste mod manager
|
|
"io.github.everestapi.Olympus"
|
|
];
|
|
home.packages = [pkgs.sgdboop];
|
|
};
|
|
}
|