diff --git a/nixos/system-tests.nix b/nixos/system-tests.nix index ff37fc85a854f1780e65956da5a71825833f06f4..73b6665ab91e4d9a8a2200fb0eec7ff596f79b39 100644 --- a/nixos/system-tests.nix +++ b/nixos/system-tests.nix @@ -2,6 +2,6 @@ let pkgs = import ../nixpkgs-2105.nix { }; in { - private-storage = pkgs.nixosTest ./modules/tests/private-storage.nix; - tahoe = pkgs.nixosTest ./modules/tests/tahoe.nix; + private-storage = pkgs.nixosTest ./tests/private-storage.nix; + tahoe = pkgs.nixosTest ./tests/tahoe.nix; } diff --git a/nixos/modules/tests/exercise-storage.py b/nixos/tests/exercise-storage.py similarity index 100% rename from nixos/modules/tests/exercise-storage.py rename to nixos/tests/exercise-storage.py diff --git a/nixos/modules/tests/get-passes.py b/nixos/tests/get-passes.py similarity index 100% rename from nixos/modules/tests/get-passes.py rename to nixos/tests/get-passes.py diff --git a/nixos/modules/tests/node.pem b/nixos/tests/node.pem similarity index 100% rename from nixos/modules/tests/node.pem rename to nixos/tests/node.pem diff --git a/nixos/modules/tests/private-storage.nix b/nixos/tests/private-storage.nix similarity index 97% rename from nixos/modules/tests/private-storage.nix rename to nixos/tests/private-storage.nix index 55d28bbfab525990898ce59b41fd1a739141fee9..6fb85a6713b4668ef4bdfa239480485bfbb52a18 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/tests/private-storage.nix @@ -90,7 +90,7 @@ in { # Get a machine where we can run a Tahoe-LAFS client node. client = { config, pkgs, ourpkgs, ... }: - { imports = [ ../packages.nix ]; + { imports = [ ../modules/packages.nix ]; environment.systemPackages = [ pkgs.daemonize # A Tahoe-LAFS configuration capable of using the right storage @@ -108,9 +108,9 @@ in { storage = { config, pkgs, ... }: { imports = - [ ../packages.nix - ../private-storage.nix - ../ssh.nix + [ ../modules/packages.nix + ../modules/private-storage.nix + ../modules/ssh.nix ]; services.private-storage = { enable = true; @@ -127,9 +127,9 @@ in { issuer = { config, pkgs, ... }: { imports = - [ ../packages.nix - ../issuer.nix - ../ssh.nix + [ ../modules/packages.nix + ../modules/issuer.nix + ../modules/ssh.nix ]; services.private-storage.sshUsers = sshUsers; diff --git a/nixos/modules/tests/probeuser_ed25519 b/nixos/tests/probeuser_ed25519 similarity index 100% rename from nixos/modules/tests/probeuser_ed25519 rename to nixos/tests/probeuser_ed25519 diff --git a/nixos/modules/tests/probeuser_ed25519.pub b/nixos/tests/probeuser_ed25519.pub similarity index 100% rename from nixos/modules/tests/probeuser_ed25519.pub rename to nixos/tests/probeuser_ed25519.pub diff --git a/nixos/modules/tests/run-client.py b/nixos/tests/run-client.py similarity index 100% rename from nixos/modules/tests/run-client.py rename to nixos/tests/run-client.py diff --git a/nixos/modules/tests/run-introducer.py b/nixos/tests/run-introducer.py similarity index 100% rename from nixos/modules/tests/run-introducer.py rename to nixos/tests/run-introducer.py diff --git a/nixos/modules/tests/stripe-api-double.py b/nixos/tests/stripe-api-double.py similarity index 100% rename from nixos/modules/tests/stripe-api-double.py rename to nixos/tests/stripe-api-double.py diff --git a/nixos/modules/tests/tahoe.nix b/nixos/tests/tahoe.nix similarity index 97% rename from nixos/modules/tests/tahoe.nix rename to nixos/tests/tahoe.nix index 624a9691d96d31e2f66d1898f1c795bd0b975063..e39fd6d3fcb776e8e5215bb1264e08e2b7306c1f 100644 --- a/nixos/modules/tests/tahoe.nix +++ b/nixos/tests/tahoe.nix @@ -3,8 +3,8 @@ nodes = { storage = { config, pkgs, ourpkgs, ... }: { imports = [ - ../packages.nix - ../tahoe.nix + ../modules/packages.nix + ../modules/tahoe.nix ]; services.tahoe.nodes.storage = {