Compare commits

...

2 commits

Author SHA1 Message Date
Jermeiah S
05bca5b139
improved just file
All checks were successful
/ check (push) Successful in 1m46s
/ deploy (push) Has been skipped
added just ssh for ygg services
2025-06-23 13:42:49 -04:00
Jermeiah S
575a113803
remove .terraform 2025-06-23 12:51:47 -04:00
3 changed files with 25 additions and 3 deletions

View file

@ -1,3 +0,0 @@
[
"/nix/store/qamki29d3xfgz3100s3hnb3kxay7bcgl-opentofu-1.9.1/libexec/terraform-providers"
]

View file

@ -16,6 +16,30 @@ update:
lint:
nix fmt
# gather ips
[group('dev')]
gather:
ip-gather
# gather ips
[group('dev')]
get-key machine:
ssh-keyscan -t ed25519 olympus 2>/dev/null | ssh-to-age
# Auto SSH resolution
[group('dev')]
ssh host:
#!/usr/bin/env bash
set -euo pipefail
addr=$(jq -r --arg host "{{host}}" '.[$host] // empty' hosts.json)
if [ -n "$addr" ]; then
echo "Connecting to $addr for {{host}}"
ssh "$addr"
else
echo "Hostname '{{host}}' not found in hosts.json"
exit 1
fi
# Check nix flake
[group('dev')]
check:

View file

@ -11,6 +11,7 @@
name = "nixos-unified-template-shell";
meta.description = "Shell environment for modifying this Nix configuration";
packages = with pkgs; [
jq
self'.packages.ip-gather
deploy-rs
ssh-to-age