hyprland: drop duplicate portal from extraPortals
programs.hyprland.portalPackage already registers the hyprland portal's systemd user unit. Listing the same portal in xdg.portal.extraPortals made nixos-rebuild fail at user-units symlink creation. Keep the gtk portal there since that one isn't otherwise registered. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
7859ac8589
commit
5a2b5954fa
1 changed files with 3 additions and 1 deletions
|
|
@ -13,8 +13,10 @@
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# xdg-desktop-portal-hyprland is registered automatically by
|
||||||
|
# programs.hyprland.portalPackage; listing it here too produced a
|
||||||
|
# duplicate user-unit symlink during nixos-rebuild.
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
config.hyprland.default = [ "hyprland" "gtk" ];
|
config.hyprland.default = [ "hyprland" "gtk" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue