System/modules/games.nix

22 lines
616 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2022-04-19 20:01:28 -04:00
environment.systemPackages =
let
2022-06-01 13:02:33 -04:00
# https://github.com/Admicos/minecraft-wayland
glfw-patched = pkgs.glfw-wayland.overrideAttrs (attrs: {
2022-06-01 13:02:33 -04:00
patches = attrs.patches ++ [
../patches/minecraft/0003-Don-t-crash-on-calls-to-focus-or-icon.patch
../patches/minecraft/0004-wayland-fix-broken-opengl-screenshots-on-mutter.patch
];
2022-04-19 20:01:28 -04:00
});
in
with pkgs; [
2022-04-19 20:01:28 -04:00
# Dwarf fortress
(dwarf-fortress-packages.dwarf-fortress-full.override {
2022-04-19 20:01:28 -04:00
enableFPS = true;
})
# PolyMC minecraft stuff
polymc
glfw-patched
];
2022-01-28 00:15:33 -05:00
}