From 1a515ed9e3ddfc55060beb46a922e7b8c66097d1 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 17 Dec 2021 15:10:10 +0100 Subject: [PATCH] xdg: Add xdg-open to path --- users/simon/modules/xdg.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/users/simon/modules/xdg.nix b/users/simon/modules/xdg.nix index 6a91f08..77dd641 100644 --- a/users/simon/modules/xdg.nix +++ b/users/simon/modules/xdg.nix @@ -1,4 +1,4 @@ -{ lib, nixosConfig, ... }: +{ lib, pkgs, nixosConfig, ... }: { xdg.mimeApps = { @@ -21,4 +21,8 @@ xdg.configFile = lib.mkIf nixosConfig.sbruder.gui.enable { "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) + ]; }