tests/default.nix: added stateVersion, added import of nixos module, fixed typo

This commit is contained in:
Andrew Bryant 2025-01-01 12:12:59 -05:00
parent 4cb4a1c05d
commit 2b98375f9b

View File

@ -3,8 +3,11 @@
{ {
imports = [ imports = [
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
../nixos-module/invoice-ninja.nix
]; ];
system.stateVersion = "24.11";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
users.users.test = { users.users.test = {
@ -16,7 +19,7 @@
services.invoice-ninja = { services.invoice-ninja = {
enable = true; enable = true;
proxy.server = "caddy"; proxy.server = "caddy";
adminAccount.passwordFile = .invoice_ninja_test_password; adminAccount.passwordFile = ./invoice_ninja_test_password;
secretFile = ./test.env; secretFile = ./test.env;
}; };