chore(sway): xdg portal is now configured with home-manager

This commit is contained in:
Yorick Barbanneau 2025-08-24 15:37:21 +02:00
parent a26f773f01
commit cb47a9aeda
2 changed files with 14 additions and 15 deletions

View file

@ -158,6 +158,20 @@ in
desktop = "${config.home.homeDirectory}/documents";
publicShare = "${config.home.homeDirectory}/tmp/public";
};
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
xdgOpenUsePortal = true;
config = {
sway.default = [
"wlr"
"gtk"
];
};
};
};
};
}