flk: fix #123
This commit is contained in:
parent
e7b46dfd92
commit
0e27b367d7
|
@ -33,8 +33,13 @@ case "$1" in
|
||||||
|
|
||||||
nixos-generate-config --dir "$DEVSHELL_ROOT/up/$HOSTNAME"
|
nixos-generate-config --dir "$DEVSHELL_ROOT/up/$HOSTNAME"
|
||||||
|
|
||||||
printf "{ imports = [ ../up/$HOSTNAME/configuration.nix ]; }" \
|
printf "%s\n" \
|
||||||
> "$DEVSHELL_ROOT/hosts/up-$HOSTNAME.nix"
|
"{ suites, ... }:" \
|
||||||
|
"{" \
|
||||||
|
" imports = [" \
|
||||||
|
" ../up/$HOSTNAME/configuration.nix" \
|
||||||
|
" ] ++ suites.core;" \
|
||||||
|
"}" > "$DEVSHELL_ROOT/hosts/up-$HOSTNAME.nix"
|
||||||
|
|
||||||
git add -f \
|
git add -f \
|
||||||
"$DEVSHELL_ROOT/up/$HOSTNAME" \
|
"$DEVSHELL_ROOT/up/$HOSTNAME" \
|
||||||
|
|
Loading…
Reference in a new issue