[Desktop/Flatpak] use native bind mount instead of fuse.bindfs for flatpak icons workaround

This commit is contained in:
Antoine Viallon 2024-02-07 20:44:55 +01:00
parent b37f09f519
commit 77c6ad5b95
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -31,12 +31,11 @@ in {
]; ];
}; };
system.fsPackages = [ pkgs.bindfs ];
fileSystems = fileSystems =
let mkRoSymBind = path: { let mkRoSymBind = path: {
device = path; device = path;
fsType = "fuse.bindfs"; fsType = "none";
options = [ "ro" "resolve-symlinks" "x-gvfs-hide" ]; options = [ "rbind" "ro" "x-gvfs-hide" ];
}; };
in { in {
"/usr/share/icons" = mkRoSymBind "/run/current-system/sw/share/icons"; "/usr/share/icons" = mkRoSymBind "/run/current-system/sw/share/icons";