diff --git a/configs/nixos/guests/romm.nix b/configs/nixos/guests/romm.nix index 16eca94..4db8202 100644 --- a/configs/nixos/guests/romm.nix +++ b/configs/nixos/guests/romm.nix @@ -53,12 +53,6 @@ in description = "Host path mounted as RomM's user assets."; }; - virtualHost = lib.mkOption { - type = lib.types.str; - example = "romm.example.org"; - description = "Public host name configured in RomM's local nginx."; - }; - igdbClientIdSecret = lib.mkOption { type = lib.types.str; default = "services/romm/igdb/client-id"; @@ -151,7 +145,7 @@ in database.createLocally = true; redis.createLocally = true; watcher.enable = true; - nginx.virtualHost = cfg.virtualHost; + nginx.virtualHost = cfg.reverseProxy.route.domain; inherit environmentFile; }; diff --git a/configs/nixos/hosts/pikachu/default.nix b/configs/nixos/hosts/pikachu/default.nix index 9072b09..9b2c2d3 100644 --- a/configs/nixos/hosts/pikachu/default.nix +++ b/configs/nixos/hosts/pikachu/default.nix @@ -98,7 +98,6 @@ romsPath = "/pikachu/media/games/emulation/roms"; biosPath = "/pikachu/media/games/emulation/bios"; usersPath = "/pikachu/media/games/emulation/users"; - virtualHost = "games.alexion.dev"; reverseProxy = { enable = true; route = {