This commit is contained in:
Sean Kovacs 2026-03-09 11:24:58 -04:00
commit 95f11b1bc7
Signed by: sckova
GPG key ID: 00F325187C68651A
3 changed files with 14 additions and 5 deletions

View file

@ -86,7 +86,11 @@
enable = true;
openFirewall = true;
requireUserVerification = false;
lan = true;
port = 25565;
# bind = "[::]"; # support IPv6
game-name = "kova's minecraft";
game-password = "ThisIsASuperSecurePasswordThatNobodyWillGuess";
admins = [ "sckova" ];
};
}

View file

@ -1,6 +1,5 @@
{
pkgs,
config,
lib,
...
}:
@ -26,6 +25,13 @@ in
}
];
# environment.systemPackages = with pkgs; [
# # note for wine support (should be done by 26.05 release):
# # https://github.com/NixOS/nixpkgs/issues/412458
# muvm
# fex
# ];
services.logind.settings.Login = {
HandleSuspendKey = "ignore";
HandlePowerKey = "lock";