* Module now uses caddy instead of nginx * Module now has adminEmail and adminPassword options
30 lines
527 B
Nix
30 lines
527 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;
|
|
caddy = true;
|
|
secretFile = ./test-secrets.env;
|
|
};
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
services.resolved.enable = true;
|
|
}
|