diff options
author | jeschli <jeschli@gmail.com> | 2018-01-31 11:54:53 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-01-31 11:54:53 +0100 |
commit | 3af7c7c0a8f86ac9a3e3f52ae63311f8fa9d5af5 (patch) | |
tree | 92fdb46600cfaacd9e85e1fbc8b42b7482dc3b5b /jeschli/1systems/bln/config.nix | |
parent | 03e65302b8089581bed0e8ae0050cea67cf59bcd (diff) |
j bln: +stocki
Diffstat (limited to 'jeschli/1systems/bln/config.nix')
-rw-r--r-- | jeschli/1systems/bln/config.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/jeschli/1systems/bln/config.nix b/jeschli/1systems/bln/config.nix index 9c491c8..c088dce 100644 --- a/jeschli/1systems/bln/config.nix +++ b/jeschli/1systems/bln/config.nix @@ -36,7 +36,15 @@ allowDiscards = true; } ]; - + environment.shellAliases = { + n = "nix-shell"; + gd = "cd /home/markus/go/src/gitlab.dcso.lolcat"; + gh = "cd /home/markus/go/src/github.com"; + stocki = pkgs.writeDash "deploy" '' + cd ~/stockholm + LOGNAME=jeschli exec nix-shell -I stockholm="$PWD" --run 'deploy --system="bln"' + ''; + }; networking.hostName = lib.mkForce "BLN02NB0154"; # Define your hostname. networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -55,11 +63,6 @@ # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget nixpkgs.config.allowUnfree = true; - environment.shellAliases = { - n = "nix-shell"; - gd = "cd /home/markus/go/src/gitlab.dcso.lolcat"; - gh = "cd /home/markus/go/src/github.com"; - }; environment.variables = { GOROOT= [ "${pkgs.go.out}/share/go" ]; }; environment.systemPackages = with pkgs; [ # system helper |