From 0e27b367d7b6551f4991508e52d9fe8188aeb2b0 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Mon, 15 Feb 2021 23:30:18 -0700 Subject: [PATCH] flk: fix #123 --- shell/flk.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/shell/flk.sh b/shell/flk.sh index 07a08d69..81b805d1 100755 --- a/shell/flk.sh +++ b/shell/flk.sh @@ -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" \