blob: f6a9c4293126886d934cecd6ccf3688e952dea01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ pkgs, lib, config, ... }: {
options.gaming.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "enables gaming";
};
config = lib.mkIf config.gaming.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
environment.systemPackages = with pkgs; [
r2modman # For modded valheim
prismlauncher # mc
drawio # For VH
(minecraft.overrideAttrs (finalAttrs: previousAttrs: {
meta.lib.broken = false;
}))
kdePackages.kmines # Minesweeper for fun lol
kdePackages.kpat # Solitaire
# btw missing the card/brick thing with weird symbols, not sure what that game was called
];
};
}
|