Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132333435{ pkgs, ... }:{ name = "postfixadmin"; meta = with pkgs.lib.maintainers; { maintainers = [ globin ]; };
nodes = { postfixadmin = { config, pkgs, ... }: { services.postfixadmin = { enable = true; hostName = "postfixadmin"; setupPasswordFile = pkgs.writeText "insecure-test-setup-pw-file" "$2y$10$r0p63YCjd9rb9nHrV9UtVuFgGTmPDLKu.0UIJoQTkWCZZze2iuB1m"; }; services.nginx.virtualHosts.postfixadmin = { forceSSL = false; enableACME = false; }; }; };
testScript = '' postfixadmin.start postfixadmin.wait_for_unit("postgresql.target") postfixadmin.wait_for_unit("phpfpm-postfixadmin.service") postfixadmin.wait_for_unit("nginx.service") postfixadmin.succeed( "curl -sSfL http://postfixadmin/setup.php -X POST -F 'setup_password=not production'" ) postfixadmin.succeed("curl -sSfL http://postfixadmin/ | grep 'Mail admins login here'") '';}