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"
|
||||
|
||||
printf "{ imports = [ ../up/$HOSTNAME/configuration.nix ]; }" \
|
||||
> "$DEVSHELL_ROOT/hosts/up-$HOSTNAME.nix"
|
||||
printf "%s\n" \
|
||||
"{ suites, ... }:" \
|
||||
"{" \
|
||||
" imports = [" \
|
||||
" ../up/$HOSTNAME/configuration.nix" \
|
||||
" ] ++ suites.core;" \
|
||||
"}" > "$DEVSHELL_ROOT/hosts/up-$HOSTNAME.nix"
|
||||
|
||||
git add -f \
|
||||
"$DEVSHELL_ROOT/up/$HOSTNAME" \
|
||||
|
Loading…
Reference in New Issue
Block a user