forked from mirrors_public/oddlama_nix-config
chore: update xdg portals config
This commit is contained in:
parent
2085054136
commit
c2aa20c3b8
2 changed files with 14 additions and 3 deletions
|
@ -43,6 +43,18 @@ in
|
||||||
# Required for gnome3 pinentry
|
# Required for gnome3 pinentry
|
||||||
services.dbus.packages = [pkgs.gcr];
|
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 = {
|
stylix = {
|
||||||
# I want to choose what to style myself.
|
# I want to choose what to style myself.
|
||||||
autoEnable = false;
|
autoEnable = false;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
config.sway.default = ["wlr"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue