From 25f9e7c40f495d4687ed5a2a3b415ab8522fd5b4 Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 21 Mar 2024 16:20:34 -0400 Subject: [PATCH] home: move mimeapps force to correct place --- home/common/wm.nix | 4 ++++ home/profile/base.nix | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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 = {