invoiceninja-nixos/tests/test-config.nix
awkawb 553674743b Changed test-config.nix
* Cleaned up function args
* Removed create-invoice-ninja-user script
* test-user is now test
2024-09-27 08:49:29 -04:00

30 lines
526 B
Nix

{ modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
../invoice-ninja.nix
];
system.stateVersion = "24.05";
nixpkgs.config.allowUnfree = true;
users.users.test = {
isNormalUser = true;
extraGroups = [ "wheel" ];
initialPassword = "testing";
};
services.invoice-ninja = {
enable = true;
database.createLocally = true;
nginx = { };
secretFile = ./test-secrets.env;
};
networking.firewall.enable = false;
services.resolved.enable = true;
}