diff --git a/flake-parts/dev-shells.nix b/flake-parts/dev-shells.nix index ebc5ad8..5649b16 100644 --- a/flake-parts/dev-shells.nix +++ b/flake-parts/dev-shells.nix @@ -29,8 +29,8 @@ _: { packages = [ pkgs.nebula pkgs.bitwarden-cli - self'.packages.nebula-regen-host-cert - self'.packages.nebula-regen-all-host-certs + self'.packages.nebula-recert-host + self'.packages.nebula-recert-all-hosts ]; shellHook = '' diff --git a/scripts/nebula/regen-all-host-certs.nix b/scripts/nebula/recert-all-hosts.nix similarity index 82% rename from scripts/nebula/regen-all-host-certs.nix rename to scripts/nebula/recert-all-hosts.nix index 23f3ded..d143bda 100644 --- a/scripts/nebula/regen-all-host-certs.nix +++ b/scripts/nebula/recert-all-hosts.nix @@ -1,11 +1,11 @@ { self', pkgs, ... }: pkgs.writeShellApplication { - name = "nebula-regen-all-host-certs"; + name = "nebula-recert-all-hosts"; runtimeInputs = [ pkgs.bitwarden-cli pkgs.jq - self'.packages.nebula-regen-host-cert + self'.packages.nebula-recert-host ]; text = '' @@ -23,7 +23,7 @@ pkgs.writeShellApplication { for host in $hosts; do echo "Regenerating certificate for $host..." - nebula-regen-host-cert "$host" "$ca_key" + nebula-recert-host "$host" "$ca_key" done echo "Done!" diff --git a/scripts/nebula/regen-host-cert.nix b/scripts/nebula/recert-host.nix similarity index 97% rename from scripts/nebula/regen-host-cert.nix rename to scripts/nebula/recert-host.nix index 1dd03f4..0db5bf2 100644 --- a/scripts/nebula/regen-host-cert.nix +++ b/scripts/nebula/recert-host.nix @@ -1,6 +1,6 @@ { pkgs, ... }: pkgs.writeShellApplication { - name = "nebula-regen-host-cert"; + name = "nebula-recert-host"; runtimeInputs = [ pkgs.nebula