From 4514f690e7c2f55a9431638473b5de2cbda35c40 Mon Sep 17 00:00:00 2001 From: Lucas Chaim Date: Thu, 7 Dec 2023 22:42:29 -0300 Subject: [PATCH] feat: Add Waydroid and helper script --- traits/wayland.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/traits/wayland.nix b/traits/wayland.nix index dfd6218..2ad7c1c 100644 --- a/traits/wayland.nix +++ b/traits/wayland.nix @@ -1,11 +1,22 @@ # Use wayland instead of X11 +# https://nixos.wiki/wiki/Wayland -{ ... }: +{ pkgs +, config +, ... +}: { services.xserver.displayManager.gdm.wayland = true; programs.xwayland.enable = true; + environment.systemPackages = with pkgs; [ wl-clipboard + config.nur.repos.ataraxiasjel.waydroid-script ]; + + # To init: sudo waydroid init -s GAPPS + # See also: https://nixos.wiki/wiki/WayDroid + # and https://github.com/casualsnek/waydroid_script + virtualisation.waydroid.enable = true; }