mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
add minecraft to fourside
This commit is contained in:
parent
abfa84e9aa
commit
fda648a01f
4 changed files with 107 additions and 263 deletions
|
|
@ -101,6 +101,25 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
temurin-bin-17
|
||||
|
||||
(prismlauncher.override {
|
||||
glfw = (let
|
||||
mcWaylandPatchRepo = fetchFromGitHub {
|
||||
owner = "Admicos";
|
||||
repo = "minecraft-wayland";
|
||||
rev = "370ce5b95e3ae9bc4618fb45113bc641fbb13867";
|
||||
sha256 =
|
||||
"sha256-RPRg6Gd7N8yyb305V607NTC1kUzvyKiWsh6QlfHW+JE=";
|
||||
};
|
||||
mcWaylandPatches = map (name: "${mcWaylandPatchRepo}/${name}")
|
||||
(lib.naturalSort (builtins.attrNames (lib.filterAttrs
|
||||
(name: type:
|
||||
type == "regular" && lib.hasSuffix ".patch" name)
|
||||
(builtins.readDir mcWaylandPatchRepo))));
|
||||
in glfw-wayland.overrideAttrs (previousAttrs: {
|
||||
patches = previousAttrs.patches ++ mcWaylandPatches;
|
||||
}));})
|
||||
];
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue