From 77c6ad5b957d1f2895dc08b17bd0a6ff3de73f11 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Wed, 7 Feb 2024 20:44:55 +0100 Subject: [PATCH] [Desktop/Flatpak] use native bind mount instead of fuse.bindfs for flatpak icons workaround --- desktop/flatpak.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/desktop/flatpak.nix b/desktop/flatpak.nix index 1c0ec3f..db95eba 100644 --- a/desktop/flatpak.nix +++ b/desktop/flatpak.nix @@ -31,12 +31,11 @@ in { ]; }; - system.fsPackages = [ pkgs.bindfs ]; fileSystems = let mkRoSymBind = path: { device = path; - fsType = "fuse.bindfs"; - options = [ "ro" "resolve-symlinks" "x-gvfs-hide" ]; + fsType = "none"; + options = [ "rbind" "ro" "x-gvfs-hide" ]; }; in { "/usr/share/icons" = mkRoSymBind "/run/current-system/sw/share/icons";