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