2 Commits
Author SHA1 Message Date
awkawb 49030fc9d4 tests/default.nix: removed user test, added password declaration for root user
This makes testing/debugging easier by allowing to login as root
directly. The previous test system configuration added a step to this
process by forcing devs to login as test and use sudo to escalate to
root.
2026-08-14 16:11:14 -04:00
awkawb 310797ccb1 tests/default.nix: removed system.stateVersion declaration
Having the declaration of system.stateVersion just adds more
maintainance for devs. For example, changing the nixpkgs value in
flake.nix requires a change of system.stateVersion in tests/default.nix.
2026-08-14 16:05:49 -04:00
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
description = "An Invoice Ninja package and module."; description = "An Invoice Ninja package and module.";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = outputs =
{ self, nixpkgs, nix, }: { self, nixpkgs, nix, }:
+2 -6
View File
@@ -6,14 +6,10 @@
../nixos-module/invoiceninja.nix ../nixos-module/invoiceninja.nix
]; ];
system.stateVersion = "25.11";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
users.users.test = { users.users.root = {
isNormalUser = true; initialPassword = "toor";
extraGroups = [ "wheel" ];
initialPassword = "test";
}; };
services.invoiceninja = { services.invoiceninja = {