From f26cc10ef6b9ee567e0ccdbe0758b873f48bf38c Mon Sep 17 00:00:00 2001 From: alexion Date: Thu, 10 Sep 2026 08:15:33 -0400 Subject: [PATCH] refactor(nixos): keep Valheim server private --- configs/nixos/modules/services/games/valheim.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/configs/nixos/modules/services/games/valheim.nix b/configs/nixos/modules/services/games/valheim.nix index b73c0c9..50f0dbc 100644 --- a/configs/nixos/modules/services/games/valheim.nix +++ b/configs/nixos/modules/services/games/valheim.nix @@ -42,11 +42,6 @@ description = "Valheim server password."; }; - public = lib.mkOption { - type = lib.types.bool; - default = false; - description = "Whether to list the server publicly."; - }; }; config = lib.mkIf config.modules.services.games.valheim.enable ( @@ -74,7 +69,7 @@ "-password" service.password "-public" - (if service.public then "1" else "0") + "0" ]; udpPorts = [ service.port