summary refs log tree commit diff
path: root/nixos/tests/common
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2021-05-19 14:22:52 +0200
committerPatrick Hilhorst <git@hilhorst.be>2021-11-19 21:20:53 +0100
commit6ecb9a352f046013b8d81053678017705a150559 (patch)
tree2a8179f08b0ee59516cb15739b004c604a0f33c6 /nixos/tests/common
parent1d1d332bb29aa651a22c4bea66a9d27ccbf9a760 (diff)
downloadnixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar.gz
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar.bz2
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar.lz
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar.xz
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.tar.zst
nixpkgs-6ecb9a352f046013b8d81053678017705a150559.zip
nixos/tests/vscodium-wayland: init
Diffstat (limited to 'nixos/tests/common')
-rw-r--r--nixos/tests/common/wayland-cage.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/tests/common/wayland-cage.nix b/nixos/tests/common/wayland-cage.nix
new file mode 100644
index 00000000000..55aeb858d7a
--- /dev/null
+++ b/nixos/tests/common/wayland-cage.nix
@@ -0,0 +1,14 @@
+{ ... }:
+
+{
+  imports = [ ./user-account.nix ];
+  services.cage = {
+    enable = true;
+    user = "alice";
+  };
+
+  virtualisation = {
+    memorySize = 1024;
+    qemu.options = [ "-vga virtio" ];
+  };
+}