nixos/xdg: enable fuse for desktop portals
xdg-document-portal mounts a FUSE filesystem and libfuse expects /run/wrappers/bin/fusermount3. Enable programs.fuse with the portal now that FUSE is no longer enabled globally. Closes #542790 Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol) Suggested-by: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
@@ -116,6 +116,8 @@ in
|
||||
packages = [ pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
programs.fuse.enable = true;
|
||||
|
||||
warnings = lib.optional (cfg.configPackages == [ ] && cfg.config == { }) ''
|
||||
xdg-desktop-portal 1.17 reworked how portal implementations are loaded, you
|
||||
should either set `xdg.portal.config` or `xdg.portal.configPackages`
|
||||
|
||||
Reference in New Issue
Block a user