In multiple NixOS tests, nixpkgs.config.allowUnfree or nixpkgs.config.allowUnfreePredicate was set. This leads to Hydra building and redistributing packages with a unfree license. This is a quite huge legal problem. This changes removes these use cases.
26 lines
487 B
Nix
26 lines
487 B
Nix
{ lib, ... }:
|
|
{
|
|
name = "outline";
|
|
|
|
meta.maintainers = lib.teams.cyberus.members;
|
|
|
|
node.pkgsReadOnly = false;
|
|
|
|
nodes.outline = {
|
|
virtualisation.memorySize = 2 * 1024;
|
|
services.outline = {
|
|
enable = true;
|
|
forceHttps = false;
|
|
storage = {
|
|
storageType = "local";
|
|
};
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
outline.wait_for_unit("outline.service")
|
|
outline.wait_for_open_port(3000)
|
|
outline.succeed("curl --fail http://localhost:3000/")
|
|
'';
|
|
}
|