diff --git a/nixos/gitconfig b/nixos/gitconfig new file mode 100644 index 0000000..c433c5b --- /dev/null +++ b/nixos/gitconfig @@ -0,0 +1,2 @@ +[alias] + co = checkout diff --git a/nixos/system/home/shared.nix b/nixos/system/home/shared.nix index d4d46bd..d957d59 100644 --- a/nixos/system/home/shared.nix +++ b/nixos/system/home/shared.nix @@ -118,6 +118,7 @@ in { directory = "/var/petersweb-infra"; }; }; + includes = [{path = toString ../../gitconfig;}]; }; zsh = { @@ -161,7 +162,6 @@ in { show_path = "echo $PATH | tr ':' '\n'"; gst = "git status"; - gco = "git checkout"; }; envExtra = '' @@ -169,6 +169,7 @@ in { ''; initExtra = '' + ${builtins.readFile ../../aliases.zsh} bindkey '^p' history-search-backward bindkey '^n' history-search-forward bindkey '^e' end-of-line