From 8983d7c1a06afeaf59c8ab2c948073b636878db7 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 18 Sep 2023 08:13:00 +0100 Subject: [PATCH] fix: enable X11 access for distrobox --- home-manager/_mixins/users/martin/desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home-manager/_mixins/users/martin/desktop.nix b/home-manager/_mixins/users/martin/desktop.nix index c860f4d4c..9e660ccb9 100644 --- a/home-manager/_mixins/users/martin/desktop.nix +++ b/home-manager/_mixins/users/martin/desktop.nix @@ -21,4 +21,9 @@ with lib.hm.gvariant; monitor-library = true; }; }; + + # Authrorize X11 access in Distrobox + home.file.".distroboxrc".text = " + xhost +si:localuser:$USER + "; }