44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ config, pkgs, myUser, ... }:
|
|
|
|
{
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
};
|
|
|
|
home-manager.users.${myUser} = {
|
|
programs.starship = {
|
|
enable = true;
|
|
settings = {
|
|
add_newline = false;
|
|
aws.disabled = true;
|
|
gcloud.disabled = true;
|
|
line_break.disabled = true;
|
|
};
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
history = {
|
|
save = 10000;
|
|
ignoreSpace = true;
|
|
ignoreDups = true;
|
|
extended = true;
|
|
share = true;
|
|
path = "$HOME/.zsh_history";
|
|
};
|
|
shellAliases = {
|
|
ls = "ls --color=yes";
|
|
la = "ls -a";
|
|
ll = "ls -l";
|
|
lla = "ls -la";
|
|
|
|
vim = "nvim";
|
|
};
|
|
};
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
};
|
|
} |