[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 =
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";