From f6f491feddcbc3acb71d153f6ae3b00cfbe6ea71 Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 3 Aug 2023 02:22:41 +0300 Subject: now firefox cant overwrite my symlinks --- mixins/firefox/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mixins/firefox/default.nix b/mixins/firefox/default.nix index bcaa0ee..990c51e 100644 --- a/mixins/firefox/default.nix +++ b/mixins/firefox/default.nix @@ -29,6 +29,12 @@ in strace -f -t -e trace=file firefox | rg -e "\"/home/tzlil/(.mozilla.*?)\"" -o */ + + # if i dont do this firefox overwrites my shit + home.file."${prf}/extension-preferences.json.tmp".source = pkgs.emptyFile; + home.file."${prf}/extension-settings.json.tmp".source = pkgs.emptyFile; + home.file."${prf}/search.json.mozlz4.tmp".source = pkgs.emptyFile; + home.file."${prf}/extension-preferences.json".text = builtins.toJSON ( # i hate myself let -- cgit 1.4.1