steam + lutris

This commit is contained in:
Casper V. Kristensen 2024-03-22 19:09:00 +01:00
parent 92883b400f
commit 59b55b4212
3 changed files with 24 additions and 0 deletions

View file

@ -3,6 +3,7 @@
../../overlays
../../modules/base
../../modules/desktop
../../modules/games.nix
../../modules/syncthing.nix
./hardware.nix
./borg.nix

View file

@ -31,6 +31,9 @@
"android-studio-stable"
"pycharm-professional"
"spotify"
"steam"
"steam-original"
"steam-run"
"terraform"
];

20
modules/games.nix Normal file
View file

@ -0,0 +1,20 @@
{
pkgs,
...
}: {
# https://nixos.wiki/wiki/Lutris
# https://nixos.wiki/wiki/Steam
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
steam-run
(lutris.override {
extraLibraries = pkgs: [
# List library dependencies here
];
extraPkgs = pkgs: [
# List package dependencies here
];
})
];
}