1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: update xdg portals config

This commit is contained in:
oddlama 2023-12-03 15:12:44 +01:00
parent 2085054136
commit c2aa20c3b8
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 14 additions and 3 deletions

View file

@ -43,6 +43,18 @@ in
# Required for gnome3 pinentry
services.dbus.packages = [pkgs.gcr];
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config.common = {
default = ["gtk"];
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
];
};
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
stylix = {
# I want to choose what to style myself.
autoEnable = false;

View file

@ -1,7 +1,6 @@
{pkgs, ...}: {
{
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
config.sway.default = ["wlr"];
};
}