From 053ff893fa38d747c073c005b0c356fd3e4edce9 Mon Sep 17 00:00:00 2001 From: aleksana Date: Thu, 4 Dec 2025 16:27:35 +0800 Subject: [PATCH] nixos/niri: move nautilus to dbus package --- nixos/modules/programs/wayland/niri.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ];