l xerxes.r: add deploy alias
This commit is contained in:
parent
d93ed46e08
commit
247c4de76d
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user