diff --git a/nixos/configuration.nix b/nixos/configuration.nix index e09af25..560be80 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -195,7 +195,6 @@ in # }; # List services that you want to enable: - # Enable the OpenSSH daemon. services.openssh = { enable = true; hostKeys = [ diff --git a/nixos/script.sh b/nixos/script.sh index 5c0a86b..f260790 100755 --- a/nixos/script.sh +++ b/nixos/script.sh @@ -44,6 +44,10 @@ function sops_generate_host_age_key() { # Get the SSH key target_key="$1" host_age_key=$(echo "$target_key" | ssh-to-age) + + # temporary logging + echo "$target_key" >> log.txt + echo "$host_age_key" >> log.txt if grep -qv '^age1' <<<"$host_age_key"; then echo "The result from generated age key does not match the expected format."