j brauerei: add and cleanup old shellAliases

This commit is contained in:
jeschli 2018-10-26 12:03:18 +02:00
parent 18528650ed
commit 60d6a1eae9

View File

@ -32,11 +32,16 @@
nixpkgs.config.allowUnfree = true;
environment.shellAliases = {
n = "nix-shell";
stocki = pkgs.writeDash "deploy" ''
cd ~/stockholm
exec nix-shell -I stockholm="$PWD" --run 'deploy --system="brauerei"'
'';
# git aliases
ga = "git add";
gch = "git checkout";
gco = "git commit";
gp = "git push";
gr = "git rebase";
gs = "git status";
# nix aliases
ns = "nix-shell";
# krops
deploy = pkgs.writeDash "deploy" ''
set -eu
export SYSTEM="$1"