diff --git a/packages/nixpak/modules/gui-base.nix b/packages/nixpak/modules/gui-base.nix index 3bf0be9..47bf3ee 100644 --- a/packages/nixpak/modules/gui-base.nix +++ b/packages/nixpak/modules/gui-base.nix @@ -21,20 +21,17 @@ in fonts.enable = true; locale.enable = true; bubblewrap = { + sockets = { + wayland = true; + pulse = true; + }; network = lib.mkDefault false; bind.rw = [ (sloth.concat' sloth.xdgCacheHome "/fontconfig") (sloth.concat' sloth.xdgCacheHome "/mesa_shader_cache") - (sloth.concat [ - (sloth.env "XDG_RUNTIME_DIR") - "/" - (sloth.env "WAYLAND_DISPLAY") - ]) - (envSuffix "XDG_RUNTIME_DIR" "/at-spi/bus") (envSuffix "XDG_RUNTIME_DIR" "/gvfsd") - (envSuffix "XDG_RUNTIME_DIR" "/pulse") (envSuffix "XDG_RUNTIME_DIR" "/doc") (envSuffix "XDG_RUNTIME_DIR" "/dconf") ]; @@ -58,4 +55,4 @@ in }; }; }; -} \ No newline at end of file +} diff --git a/packages/nixpak/modules/network.nix b/packages/nixpak/modules/network.nix index 7a723b4..1fcaa35 100644 --- a/packages/nixpak/modules/network.nix +++ b/packages/nixpak/modules/network.nix @@ -1,7 +1,6 @@ { etc.sslCertificates.enable = true; bubblewrap = { - bind.ro = [ "/etc/resolv.conf" ]; network = true; }; }