mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop/Flatpak] use native bind mount instead of fuse.bindfs for flatpak icons workaround
This commit is contained in:
parent
b37f09f519
commit
77c6ad5b95
1 changed files with 2 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue