about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-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);