users/foo-dogsquared/programs/shell: configure more parts of shell tools

This commit is contained in:
Gabriel Arazas 2023-12-20 22:06:14 +08:00
parent a6b5fca44c
commit 495bcf75ef
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 35 additions and 21 deletions
users/home-manager/foo-dogsquared/modules/programs

View File

@ -8,7 +8,8 @@ in
options.users.foo-dogsquared.programs.research.enable =
lib.mkEnableOption "foo-dogsquared's usual toolbelt for research";
config = lib.mkIf cfg.enable {
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!
@ -30,5 +31,16 @@ in
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"
];
})
]);
}

View File

@ -30,6 +30,8 @@ in
auto_sync = true;
sync_address = "http://atuin.plover.foodogsquared.one";
sync_frequency = "10m";
update_check = false;
workspaces = true;
};
};