j brauerei: add and cleanup old shellAliases
This commit is contained in:
parent
18528650ed
commit
60d6a1eae9
@ -32,11 +32,16 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
n = "nix-shell";
|
# git aliases
|
||||||
stocki = pkgs.writeDash "deploy" ''
|
ga = "git add";
|
||||||
cd ~/stockholm
|
gch = "git checkout";
|
||||||
exec nix-shell -I stockholm="$PWD" --run 'deploy --system="brauerei"'
|
gco = "git commit";
|
||||||
'';
|
gp = "git push";
|
||||||
|
gr = "git rebase";
|
||||||
|
gs = "git status";
|
||||||
|
# nix aliases
|
||||||
|
ns = "nix-shell";
|
||||||
|
# krops
|
||||||
deploy = pkgs.writeDash "deploy" ''
|
deploy = pkgs.writeDash "deploy" ''
|
||||||
set -eu
|
set -eu
|
||||||
export SYSTEM="$1"
|
export SYSTEM="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user