summaryrefslogtreecommitdiffstats
path: root/jeschli/1systems/brauerei
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-10-26 12:03:18 +0200
committerjeschli <jeschli@gmail.com>2018-10-26 12:03:18 +0200
commit60d6a1eae914709331061615db10b4d4b7c25bcd (patch)
tree1ab664a9e5f2e8b2f6ee500310c4534abbdae73e /jeschli/1systems/brauerei
parent18528650ed3619c505fd4f1ab79feb40d727be20 (diff)
j brauerei: add and cleanup old shellAliases
Diffstat (limited to 'jeschli/1systems/brauerei')
-rw-r--r--jeschli/1systems/brauerei/config.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/jeschli/1systems/brauerei/config.nix b/jeschli/1systems/brauerei/config.nix
index e419e35be..b31426010 100644
--- a/jeschli/1systems/brauerei/config.nix
+++ b/jeschli/1systems/brauerei/config.nix
@@ -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"