about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-27 16:58:27 +0200
committerSoispha <soispha@vhack.eu>2023-05-27 16:58:27 +0200
commitdf64a1d79e66048297b56ebbbb8ac243521940f4 (patch)
treefdd2e4efccd896deb5d52cdfdeed735c06204c78
parentchore(version): v1.5.1 (diff)
downloadnixos-config-df64a1d79e66048297b56ebbbb8ac243521940f4.tar.gz
nixos-config-df64a1d79e66048297b56ebbbb8ac243521940f4.zip
Fix(hm/conf/firefox/prefs): Readd the download dir setting
Diffstat (limited to '')
-rw-r--r--home-manager/config/firefox/config/prefs/default.nix1
-rw-r--r--home-manager/config/firefox/config/prefs/override.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/config/firefox/config/prefs/default.nix b/home-manager/config/firefox/config/prefs/default.nix
index 3997b63e..0f930b7e 100644
--- a/home-manager/config/firefox/config/prefs/default.nix
+++ b/home-manager/config/firefox/config/prefs/default.nix
@@ -19,5 +19,6 @@ in
     // My bookmarks
     user_pref("browser.bookmarks.file", "${toString (firefoxBookmarksFile bookmarks)}");
     user_pref("browser.startup.homepage", "file:///home/dt/home.html"); // 0103 // TODO add this from a flake
+    user_pref("browser.download.dir", "${config.home.homeDirectory}/media/downloads");
     EOF
   ''
diff --git a/home-manager/config/firefox/config/prefs/override.js b/home-manager/config/firefox/config/prefs/override.js
index 8dac89c1..7e63e532 100644
--- a/home-manager/config/firefox/config/prefs/override.js
+++ b/home-manager/config/firefox/config/prefs/override.js
@@ -154,7 +154,6 @@ user_pref("app.update.channel", "default");
 user_pref("browser.ctrlTab.recentlyUsedOrder", false);
 
 user_pref("browser.download.useDownloadDir", true);
-user_pref("browser.download.dir", "${config.home.homeDirectory}/media/downloads");
 user_pref("browser.download.folderList", 2); # TODO
 user_pref("browser.download.viewableInternally.typeWasRegistered.svg", true);
 user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true);