mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
23 lines
471 B
Nix
23 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'")
|
||
|
'';
|
||
|
}
|
||
|
)
|