mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
22 lines
471 B
Nix
22 lines
471 B
Nix
import ../make-test-python.nix (
|
|
{ ... }:
|
|
{
|
|
name = "tt-rss-nixos";
|
|
|
|
nodes.machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
services.tt-rss = {
|
|
enable = true;
|
|
virtualHost = "localhost";
|
|
selfUrlPath = "http://localhost/";
|
|
singleUserMode = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("tt-rss.service")
|
|
machine.succeed("curl -sSfL http://localhost/ | grep 'Tiny Tiny RSS'")
|
|
'';
|
|
}
|
|
)
|