debugging logging

This commit is contained in:
2026-05-31 21:39:10 -05:00
parent 32d94bb090
commit 205355c2aa
+5 -1
View File
@@ -49,11 +49,15 @@
serviceConfig = {
Type = "oneshot";
ExecStart = pkgs.writeShellScript "start-nimh-static" ''
echo "Creating temp dir"
kubernetes_config=$(mktemp)
echo "Generating templated files"
ls -a
gomplate=${pkgs.gomplate}/bin/gomplate
$gomplate --input-dir=./k3s --output-dir=$kubernetes_config
echo "Applying k3s config"
kubectl=${pkgs.kubectl}/bin/kubectl
$kubectl apply -k $out
$kubectl apply -k $kubernetes_config
'';
User = "nimh";