From de742045bdfeeae99e52e1bd1ea54a9847a008a2 Mon Sep 17 00:00:00 2001 From: krizej Date: Fri, 2 Aug 2024 00:14:06 +0200 Subject: [PATCH 1/2] git ignores --- modules/stuff/git.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/stuff/git.nix b/modules/stuff/git.nix index 0ed254b..94086d6 100644 --- a/modules/stuff/git.nix +++ b/modules/stuff/git.nix @@ -13,6 +13,12 @@ in { userName = "krizej"; userEmail = "krizej@protonmail.com"; extraConfig.init.defaultBranch = "master"; + ignores = [ + ".idea/" + "build/" + ".venv/" + "**/__pycache__/" + ]; }; }; } \ No newline at end of file From 0fbb7dee11c82779190dfbe225ebdf376c59953e Mon Sep 17 00:00:00 2001 From: krizej Date: Fri, 2 Aug 2024 19:42:56 +0200 Subject: [PATCH 2/2] 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 +}