summary refs log tree commit diff
path: root/nixos/tests/vscodium.nix
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2021-11-19 23:04:26 +0100
committerPatrick Hilhorst <git@hilhorst.be>2021-11-19 23:04:26 +0100
commit2a04ae8b125285ed980722614e75e220ee9847c8 (patch)
tree8706e8523db34c0ae06b23d2349a2117d8854d36 /nixos/tests/vscodium.nix
parent9e71014edecba9d9c78531ebc2861e28c931ff6f (diff)
downloadnixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar.gz
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar.bz2
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar.lz
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar.xz
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.tar.zst
nixpkgs-2a04ae8b125285ed980722614e75e220ee9847c8.zip
nixosTests.vscodium: rename machines
Diffstat (limited to 'nixos/tests/vscodium.nix')
-rw-r--r--nixos/tests/vscodium.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/tests/vscodium.nix b/nixos/tests/vscodium.nix
index e217c1ec80f..565296a5a73 100644
--- a/nixos/tests/vscodium.nix
+++ b/nixos/tests/vscodium.nix
@@ -1,6 +1,6 @@
 let
   tests = {
-    vscodium-wayland = { pkgs, ... }: {
+    wayland = { pkgs, ... }: {
       imports = [ ./common/wayland-cage.nix ];
 
       services.cage.program = ''
@@ -11,7 +11,7 @@ let
 
       fonts.fonts = with pkgs; [ dejavu_fonts ];
     };
-    vscodium-xorg = { pkgs, ... }: {
+    xorg = { pkgs, ... }: {
       imports = [ ./common/user-account.nix ./common/x11.nix ];
 
       virtualisation.memorySize = 2047;
@@ -25,7 +25,10 @@ let
 
   mkTest = name: machine:
     import ./make-test-python.nix ({ pkgs, ... }: {
-      inherit name machine;
+      inherit name;
+
+      nodes = { "${name}" = machine; };
+
       meta = with pkgs.lib.maintainers; {
         maintainers = [ synthetica turion ];
       };