diff --git a/users/home-manager/foo-dogsquared/modules/programs/research.nix b/users/home-manager/foo-dogsquared/modules/programs/research.nix index a34a2e73..b2f20916 100644 --- a/users/home-manager/foo-dogsquared/modules/programs/research.nix +++ b/users/home-manager/foo-dogsquared/modules/programs/research.nix @@ -8,27 +8,39 @@ in options.users.foo-dogsquared.programs.research.enable = lib.mkEnableOption "foo-dogsquared's usual toolbelt for research"; - config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ - anki # Rise, rinse, and repeat. - #archivebox # The ultimate archiving solution created by a pirate! - curl # The general purpose downloader. - fanficfare # It's for the badly written fanfics. - gallery-dl # More potential for your image collection. - internetarchive # All of the potential vintage collection of questionable materials at your fingertips. - kiwix # Offline reader for your fanon wiki. - monolith # Archive webpages into a single file. - qbittorrent # The pirate's toolkit for downloading Linux ISOs. - sherlock # Make a profile of your *target*. - wget # Who would've think a simple tool can be made for this purpose? - yt-dlp # The general purpose video downloader. - zotero # It's actually good at archiving despite not being a researcher myself. - ]; + config = lib.mkIf cfg.enable (lib.mkMerge [ + { + home.packages = with pkgs; [ + anki # Rise, rinse, and repeat. + #archivebox # The ultimate archiving solution created by a pirate! + curl # The general purpose downloader. + fanficfare # It's for the badly written fanfics. + gallery-dl # More potential for your image collection. + internetarchive # All of the potential vintage collection of questionable materials at your fingertips. + kiwix # Offline reader for your fanon wiki. + monolith # Archive webpages into a single file. + qbittorrent # The pirate's toolkit for downloading Linux ISOs. + sherlock # Make a profile of your *target*. + wget # Who would've think a simple tool can be made for this purpose? + yt-dlp # The general purpose video downloader. + zotero # It's actually good at archiving despite not being a researcher myself. + ]; - services.syncthing.enable = true; + services.syncthing.enable = true; - xdg.mimeApps.defaultApplications = { - "application/vnd.anki" = [ "anki.desktop" ]; - }; - }; + xdg.mimeApps.defaultApplications = { + "application/vnd.anki" = [ "anki.desktop" ]; + }; + } + + (lib.mkIf userCfg.programs.shell.enable { + programs.atuin.settings.history_filter = [ + "^curl" + "^monolith" + "^sherlock" + "^yt-dlp" + "^gallery-dl" + ]; + }) + ]); } diff --git a/users/home-manager/foo-dogsquared/modules/programs/shell.nix b/users/home-manager/foo-dogsquared/modules/programs/shell.nix index b22283d6..f075998c 100644 --- a/users/home-manager/foo-dogsquared/modules/programs/shell.nix +++ b/users/home-manager/foo-dogsquared/modules/programs/shell.nix @@ -30,6 +30,8 @@ in auto_sync = true; sync_address = "http://atuin.plover.foodogsquared.one"; sync_frequency = "10m"; + update_check = false; + workspaces = true; }; };