tests: refactor

This commit is contained in:
Qyriad 2026-02-11 13:19:59 +01:00
parent 8a6bd41baa
commit d7a0cbefe5
12 changed files with 184 additions and 127 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ mkDynixConfigurationDotNix, config, ... }:
{
name = "nixos-test-dynamicism-gotosocial";
@ -17,7 +17,10 @@
imports = [ ./configuration.nix ];
environment.systemPackages = let
configFileTree = pkgs.callPackage ./configuration-package.nix { };
configFileTree = mkDynixConfigurationDotNix {
inherit (config) name;
configuration = ./configuration.nix;
};
in [
configFileTree
];