infra/modules/core/terminal-tooling.nix
teutat3s 386f2b2ba5
All checks were successful
Flake checks / Check (pull_request) Successful in 28m23s
bash: ignore leading space + duplicates in history
2024-12-09 18:49:58 +01:00

34 lines
801 B
Nix

{ flake, lib, ... }:
{
home-manager.users = (
lib.attrsets.foldlAttrs (
acc: name: value:
acc
// {
${name} = {
programs.git.enable = true;
programs.starship.enable = true;
programs.bash = {
enable = true;
historyControl = [
"ignoredups"
"ignorespace"
];
};
programs.neovim = {
enable = true;
vimAlias = true;
viAlias = true;
defaultEditor = true;
# configure = {
# packages.myVimPackages = with pkgs.vimPlugins; {
# start = [vim-nix vim-surrund rainbow];
# };
# };
};
};
}
) { } flake.self.logins.admins
);
}