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 e93c365d1b
commit 40da37234a
Signed by: ephase
GPG key ID: 246042E52B41FFCF
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"
];
};
};
};
};
}