diff --git a/nixos/modules/programs/wayland/niri.nix b/nixos/modules/programs/wayland/niri.nix index b571326acd9b..58b36fe42ab8 100644 --- a/nixos/modules/programs/wayland/niri.nix +++ b/nixos/modules/programs/wayland/niri.nix @@ -23,9 +23,10 @@ in { environment.systemPackages = [ cfg.package - ] + ]; + # Required for xdg-desktop-portal-gnome's FileChooser to work properly - ++ lib.optionals cfg.useNautilus [ + services.dbus.packages = lib.mkIf cfg.useNautilus [ pkgs.nautilus ];