diff options
Diffstat (limited to 'users/tazjin')
-rw-r--r-- | users/tazjin/nixos/modules/desktop.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index f3cde6326c58..f59b868ad363 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -52,6 +52,16 @@ systemd.user.services.pipewire.wantedBy = [ "niri.service" ]; systemd.user.services.pipewire.before = [ "niri.service" ]; + # enable "desktop portals", which are important somehow + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk + xdg-desktop-portal-gnome + ]; + config.common.default = "*"; + }; + # swaylock needs an empty PAM configuration, otherwise it locks the user out security.pam.services.swaylock = { }; |