Release NixOS 23.11
[NixPkgs.git] / nixos / tests / homepage-dashboard.nix
blob56e077f5ff6de5a844c28b32df7b830c820f744b
1 import ./make-test-python.nix ({ lib, ... }: {
2   name = "homepage-dashboard";
3   meta.maintainers = with lib.maintainers; [ jnsgruk ];
5   nodes.machine = { pkgs, ... }: {
6     services.homepage-dashboard.enable = true;
7   };
9   testScript = ''
10     machine.wait_for_unit("homepage-dashboard.service")
11     machine.wait_for_open_port(8082)
12     machine.succeed("curl --fail http://localhost:8082/")
13   '';