fix fucking xdg portal
This commit is contained in:
parent
486fa9061b
commit
871f6a4b4f
2 changed files with 12 additions and 7 deletions
|
|
@ -64,17 +64,20 @@ in {
|
|||
enable = true;
|
||||
};
|
||||
|
||||
# flatpak fix: systemctl --user import-environment PATH
|
||||
# systemctl --user restart xdg-desktop-portal xdg-desktop-portal-gtk
|
||||
# rollback: systemctl --user unset-environment PATH
|
||||
# check: systemctl --user show-environment | grep PATH
|
||||
# default: PATH=/nix/store/3abwqv1a1bdycmgaydzfw3a0qzxwk8am-systemd-256.8/bin/
|
||||
# test:
|
||||
# flatpak run --command=sh com.github.tchx84.Flatseal
|
||||
# xdg-open https://example.com
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config.common.default = [ "gtk" ];
|
||||
configPackages = with pkgs2; [
|
||||
# kdePackages.xdg-desktop-portal-kde
|
||||
xdg-desktop-portal-gtk # Чтоб загружать файлы и стримить в дискорде
|
||||
];
|
||||
config.common.default = [ "gtk" "*" ];
|
||||
extraPortals = with pkgs2; [
|
||||
# kdePackages.xdg-desktop-portal-kde
|
||||
xdg-desktop-portal-gtk # Чтоб загружать файлы и стримить в дискорде
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@
|
|||
# archisteamfarm = {}; # Фарм карточек стима афк. Просто раскомментить мало, надо настроить
|
||||
flatpak = {
|
||||
# flatpak install flathub com.github.tchx84.Flatseal
|
||||
# https://flathub.org/en/apps/org.vinegarhq.Vinegar
|
||||
# https://flathub.org/en/apps/org.vinegarhq.Sober
|
||||
enable = true;
|
||||
package = pkgs2.flatpak;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue