From 0fbb7dee11c82779190dfbe225ebdf376c59953e Mon Sep 17 00:00:00 2001 From: krizej Date: Fri, 2 Aug 2024 19:42:56 +0200 Subject: [PATCH] fucking shit --- modules/stuff/firefox.nix | 1 + modules/stuff/xdg.nix | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/stuff/firefox.nix b/modules/stuff/firefox.nix index 3df3e6f..b1f77b8 100644 --- a/modules/stuff/firefox.nix +++ b/modules/stuff/firefox.nix @@ -133,6 +133,7 @@ in { "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; "services.sync.prefs.sync.extensions.activeThemeID" = "false"; "middlemouse.paste" = "false"; + "browser.download.dir" = config.home-manager.users.${user}.xdg.userDirs.download; # https://git.jacekpoz.pl/jacekpoz/niksos/src/branch/master/modules/gui/firefox.nix#L405 # but modified (a bit) "browser.aboutConfig.showWarning" = false; diff --git a/modules/stuff/xdg.nix b/modules/stuff/xdg.nix index c04b29b..90e7ae7 100644 --- a/modules/stuff/xdg.nix +++ b/modules/stuff/xdg.nix @@ -26,14 +26,14 @@ in { userDirs = { enable = true; - desktop = "${HOME}/desktop"; - documents = "${HOME}/documents"; - download = "${HOME}/downloads"; - music = "${HOME}/music"; - pictures = "${HOME}/pictures"; - publicShare = "${HOME}/public"; - templates = "${HOME}/templates"; - videos = "${HOME}/videos"; + desktop = "${HOME}/Desktop"; + documents = "${HOME}/Documents"; + download = "${HOME}/Downloads"; + music = "${HOME}/Music"; + pictures = "${HOME}/Pictures"; + publicShare = "${HOME}/Public"; + templates = "${HOME}/Templates"; + videos = "${HOME}/Videos"; }; }; @@ -86,4 +86,4 @@ in { }; }; }; -} \ No newline at end of file +}