diff --git a/hosts/common/polyunfill.nix b/hosts/common/polyunfill.nix index 4c001b82..b566efc5 100644 --- a/hosts/common/polyunfill.nix +++ b/hosts/common/polyunfill.nix @@ -48,4 +48,20 @@ programs.less.enable = lib.mkForce false; environment.variables.PAGER = lib.mkOverride 900 ""; # mkDefault sets 1000. non-override is 100. 900 will beat the nixpkgs `mkDefault` but not anyone else. environment.variables.EDITOR = lib.mkOverride 900 ""; + + # several packages (dconf, modemmanager, networkmanager, gvfs, polkit, udisks, bluez/blueman, feedbackd, etc) + # will add themselves to the dbus search path. + # i prefer dbus to only search XDG paths (/share/dbus-1) for service files, as that's more introspectable. + # see: + # TODO: sandbox dbus? i pretty explicitly don't want to use it as a launcher. + services.dbus.packages = lib.mkForce [ + "/run/current-system/sw" + # config.system.path + # pkgs.dbus + # pkgs.polkit.out + # pkgs.modemmanager + # pkgs.networkmanager + # pkgs.udisks + # pkgs.wpa_supplicant + ]; }