l xerxes.r: add deploy alias

This commit is contained in:
lassulus 2019-08-27 16:55:20 +02:00
parent d93ed46e08
commit 247c4de76d

View File

@ -22,6 +22,14 @@
krebs.build.host = config.krebs.hosts.xerxes; krebs.build.host = config.krebs.hosts.xerxes;
environment.shellAliases = {
deploy = pkgs.writeDash "deploy" ''
set -eu
export SYSTEM="$1"
$(nix-build $HOME/sync/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy)
'';
};
services.xserver = { services.xserver = {
displayManager.lightdm.autoLogin.enable = true; displayManager.lightdm.autoLogin.enable = true;
displayManager.lightdm.autoLogin.user = "lass"; displayManager.lightdm.autoLogin.user = "lass";