From 2b98375f9bf4f5a24f8895f3baa27ba6730f6e02 Mon Sep 17 00:00:00 2001 From: awkawb Date: Wed, 1 Jan 2025 12:12:59 -0500 Subject: [PATCH] tests/default.nix: added stateVersion, added import of nixos module, fixed typo --- tests/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/default.nix b/tests/default.nix index ef4757a..b2aa4c5 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -3,8 +3,11 @@ { imports = [ (modulesPath + "/profiles/qemu-guest.nix") + ../nixos-module/invoice-ninja.nix ]; + system.stateVersion = "24.11"; + nixpkgs.config.allowUnfree = true; users.users.test = { @@ -16,7 +19,7 @@ services.invoice-ninja = { enable = true; proxy.server = "caddy"; - adminAccount.passwordFile = .invoice_ninja_test_password; + adminAccount.passwordFile = ./invoice_ninja_test_password; secretFile = ./test.env; };