mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 11:59:08 +01:00
scripts: Rename nebula scripts
This commit is contained in:
parent
0f69eb0355
commit
ed070e6abe
3 changed files with 6 additions and 6 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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!"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writeShellApplication {
|
||||
name = "nebula-regen-host-cert";
|
||||
name = "nebula-recert-host";
|
||||
|
||||
runtimeInputs = [
|
||||
pkgs.nebula
|
||||
Loading…
Add table
Add a link
Reference in a new issue