diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-07-10 14:02:06 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-07-10 14:02:06 +0300 |
commit | a88092202ccfdb981c6aef3270bdef20e7530f5f (patch) | |
tree | f6f2f82e7575aeead163bcf0c93bab494e7e70ce /modules/games | |
parent | 2024-06-29 (diff) |
2024-07-10
Diffstat (limited to 'modules/games')
-rw-r--r-- | modules/games/minecraft.nix | 4 | ||||
-rw-r--r-- | modules/games/steam-run.nix | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/modules/games/minecraft.nix b/modules/games/minecraft.nix index 6e163dc..f93a139 100644 --- a/modules/games/minecraft.nix +++ b/modules/games/minecraft.nix @@ -48,7 +48,9 @@ in enable = true; autoStart = true; - package = pkgs.paperServers.paper-1_19_3; + # https://api.papermc.io/v2/projects/paper + # https://github.com/Infinidoge/nix-minecraft/blob/master/pkgs/paper-servers/lock.json + package = pkgs.paperServers.paper-1_21_47; serverProperties = { # motd = ""; diff --git a/modules/games/steam-run.nix b/modules/games/steam-run.nix index f6902c0..be06c78 100644 --- a/modules/games/steam-run.nix +++ b/modules/games/steam-run.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + pkgsRev, ... }: with lib; @@ -28,12 +29,8 @@ in _: with cfg.quirks; optional blackIsleStudios openssl_1_0_0 - ++ optionals cryptOfTheNecrodancer [ - (import (builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/d1c3fea7ecbed758168787fe4e4a3157e52bc808.tar.gz"; - sha256 = "0ykm15a690v8lcqf2j899za3j6hak1rm3xixdxsx33nz7n3swsyy"; - }) { inherit (config.nixpkgs) config localSystem; }).flac - ] + ++ optional cryptOfTheNecrodancer (pkgsRev "d1c3fea7ecbed758168787fe4e4a3157e52bc808" "sha256-3muuhz3fjtF1bz32UXOYCho51E8JSeEwo2iDZFQJdXo=") + .flac ++ optionals mountAndBladeWarband [ (glew.overrideAttrs ( _: super: |