summaryrefslogtreecommitdiff
path: root/modules/games
diff options
context:
space:
mode:
Diffstat (limited to 'modules/games')
-rw-r--r--modules/games/minecraft.nix4
-rw-r--r--modules/games/steam-run.nix9
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: