summary refs log tree commit diff
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-03 02:22:41 +0300
committertzlil <tzlils@protonmail.com>2023-08-03 02:22:41 +0300
commitf6f491feddcbc3acb71d153f6ae3b00cfbe6ea71 (patch)
treeca25766fee76556a1c0d3d5af1c2bc0dda5f0c32
parentb41298f20d3d4d2bac036c13a1971653e1d8e767 (diff)
now firefox cant overwrite my symlinks
-rw-r--r--mixins/firefox/default.nix6
1 files changed, 6 insertions, 0 deletions
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