xdg: Add xdg-open to path

This commit is contained in:
Simon Bruder 2021-12-17 15:10:10 +01:00
parent e55094d898
commit 1a515ed9e3
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,4 +1,4 @@
{ lib, nixosConfig, ... }: { lib, pkgs, nixosConfig, ... }:
{ {
xdg.mimeApps = { xdg.mimeApps = {
@ -21,4 +21,8 @@
xdg.configFile = lib.mkIf nixosConfig.sbruder.gui.enable { xdg.configFile = lib.mkIf nixosConfig.sbruder.gui.enable {
"mimeapps.list".force = true; "mimeapps.list".force = true;
}; };
home.packages = with pkgs; [
xdg-utils # qt programs require xdg-open in path to use a reasonable program (i.e. not firefox)
];
} }