From 113a6f9fe6603be7488c1c9a5bb4b1b7c5bb2f71 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 19 May 2024 01:27:56 +0300 Subject: Move NixOS test initialization to the package This allows to initialize tests easier and not have them depend on the flake itself. This might be useful if I ever have to build this package without a flake. --- nixos-tests/distributed-test.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos-tests/distributed-test.nix') diff --git a/nixos-tests/distributed-test.nix b/nixos-tests/distributed-test.nix index 11c2dba..5e43bbf 100644 --- a/nixos-tests/distributed-test.nix +++ b/nixos-tests/distributed-test.nix @@ -1,9 +1,8 @@ # This doesn't seem to work for some reason. I wonder why. # The VMs themselves don't want to launch properly. -kittybox: { lib, system, ... }: let kittyboxModule = { config, pkgs, lib, ... }: { - imports = [ kittybox.nixosModules.default commonModule ]; + imports = [ ../configuration.nix commonModule ]; services.kittybox = { enable = true; -- cgit 1.4.1