From 52fdecf30ef96b9562ecf35bf7501715d7fe2bcf Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 11 Jun 2026 12:45:27 +0530 Subject: [PATCH] nixosTests/cosmic: move test into a dedicated directory (cherry picked from commit fae2ab3dd73683029c389a43a1edc8dfd406c9cb) --- nixos/tests/all-tests.nix | 8 ++++---- nixos/tests/{cosmic.nix => cosmic/default.nix} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename nixos/tests/{cosmic.nix => cosmic/default.nix} (99%) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 07af38660bab..c66a5b062439 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -407,25 +407,25 @@ in corerad = runTest ./corerad.nix; corteza = runTest ./corteza.nix; cosmic = runTest { - imports = [ ./cosmic.nix ]; + imports = [ ./cosmic ]; _module.args.testName = "cosmic"; _module.args.enableAutologin = false; _module.args.enableXWayland = true; }; cosmic-autologin = runTest { - imports = [ ./cosmic.nix ]; + imports = [ ./cosmic ]; _module.args.testName = "cosmic-autologin"; _module.args.enableAutologin = true; _module.args.enableXWayland = true; }; cosmic-autologin-noxwayland = runTest { - imports = [ ./cosmic.nix ]; + imports = [ ./cosmic ]; _module.args.testName = "cosmic-autologin-noxwayland"; _module.args.enableAutologin = true; _module.args.enableXWayland = false; }; cosmic-noxwayland = runTest { - imports = [ ./cosmic.nix ]; + imports = [ ./cosmic ]; _module.args.testName = "cosmic-noxwayland"; _module.args.enableAutologin = false; _module.args.enableXWayland = false; diff --git a/nixos/tests/cosmic.nix b/nixos/tests/cosmic/default.nix similarity index 99% rename from nixos/tests/cosmic.nix rename to nixos/tests/cosmic/default.nix index f7fde6ca0e0f..91f4ebe501ff 100644 --- a/nixos/tests/cosmic.nix +++ b/nixos/tests/cosmic/default.nix @@ -13,7 +13,7 @@ meta.maintainers = lib.teams.cosmic.members; nodes.machine = { - imports = [ ./common/user-account.nix ]; + imports = [ ../common/user-account.nix ]; services = { # For `cosmic-store` to be added to `environment.systemPackages`