mirror of https://github.com/wlcx/home.git
[home] default shell to zsh and start porting dotfiles
This commit is contained in:
parent
00267260d6
commit
e6e69f823e
26
home.nix
26
home.nix
|
@ -3,11 +3,31 @@
|
||||||
{
|
{
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
programs = {
|
||||||
programs.home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
programs.git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Sam Willcocks";
|
userName = "Sam Willcocks";
|
||||||
userEmail = "sam@wlcx.cc";
|
userEmail = "sam@wlcx.cc";
|
||||||
|
aliases = {
|
||||||
|
st = "status";
|
||||||
|
co = "checkout";
|
||||||
|
d = "diff";
|
||||||
|
cim = "commit -m";
|
||||||
|
a = "add";
|
||||||
|
ap = "add -p";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
fzf.enable = true;
|
||||||
|
zsh = {
|
||||||
|
enable = true;
|
||||||
|
shellAliases = {
|
||||||
|
g = "git";
|
||||||
|
};
|
||||||
|
prezto = {
|
||||||
|
enable = true;
|
||||||
|
prompt.theme = "giddie";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue