(feat): added games support

This commit is contained in:
chloe 2024-08-20 10:24:09 +02:00
parent 49a987352d
commit cdef07a6fa
6 changed files with 101 additions and 13 deletions

18
features/client/games.nix Normal file
View file

@ -0,0 +1,18 @@
{config, pkgs, ...}:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-run"
];
environment.systemPackages = with pkgs; [
lutris
];
};
}