System/modules/games.nix

18 lines
455 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2022-04-19 20:01:28 -04:00
environment.systemPackages =
let
glfw-patched = pkgs.glfw-wayland.overrideAttrs (attrs: {
2022-04-19 20:01:28 -04:00
patches = attrs.patches ++ [ ../patches/minecraft/0003-Don-t-crash-on-calls-to-focus-or-icon.patch ];
});
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
}