chore: move xdg-portals to graphical config
This commit is contained in:
parent
e2bce75b81
commit
dd60b94a59
|
@ -26,22 +26,6 @@
|
|||
enable = true;
|
||||
pkcs11.enable = true;
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
config = {
|
||||
common.default = [
|
||||
"gtk"
|
||||
];
|
||||
sway.default = [
|
||||
"wlr"
|
||||
];
|
||||
};
|
||||
};
|
||||
# Just before switching, remove the agenix directory if it exists.
|
||||
# This can happen when a secret is used in the initrd because it will
|
||||
# then be copied to the initramfs under the same path. This materializes
|
||||
|
|
|
@ -23,6 +23,21 @@ in {
|
|||
];
|
||||
|
||||
config = {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
config = {
|
||||
common.default = [
|
||||
"gtk"
|
||||
];
|
||||
sway.default = [
|
||||
"wlr"
|
||||
];
|
||||
};
|
||||
};
|
||||
# needed for gnome pinentry
|
||||
services.dbus.packages = [pkgs.gcr];
|
||||
stylix = {
|
||||
|
|
Loading…
Reference in a new issue