diff --git a/home/common/wm.nix b/home/common/wm.nix index bfd7e86..a63f5bd 100644 --- a/home/common/wm.nix +++ b/home/common/wm.nix @@ -63,6 +63,10 @@ in "application/pdf" = defaultBrowser; }; }; + # this makes xdg.mimeApps overwrite mimeapps.list if it has been touched by something else + xdg.configFile."mimeapps.list" = { + force = true; + }; services = { udiskie = { diff --git a/home/profile/base.nix b/home/profile/base.nix index 2072293..630bb59 100644 --- a/home/profile/base.nix +++ b/home/profile/base.nix @@ -16,8 +16,6 @@ in config = lib.mkIf cfg.enable { nixfiles.programs.comma.enable = true; - # this makes xdg.mimeApps overwrite mimeapps.list if it has been touched by something else - xdg.configFile."mimeapps.list".force = true; # TODO move this stuff to a zsh.nix or something; this is just a quick fix so home.sessionVariables works home.shellAliases = {