57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{ config, pkgs, localEnv, ... }:
|
|
|
|
{
|
|
home.username = localEnv.username;
|
|
home.homeDirectory = "/home/" + localEnv.username;
|
|
|
|
imports = [
|
|
./modules/xresources.nix
|
|
./modules/packages.nix
|
|
];
|
|
|
|
# basic configuration of git, please change to your own
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Victor Ișan";
|
|
userEmail = "victor@isan.ro";
|
|
};
|
|
|
|
# starship - an customizable prompt for any shell
|
|
programs.starship = {
|
|
enable = true;
|
|
# custom settings
|
|
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";
|
|
};
|
|
|
|
};
|
|
|
|
home.stateVersion = "24.11"; # Don't change.
|
|
|
|
# Let home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
}
|