refresh vultr key

This commit is contained in:
Cyryl Płotnicki 2022-06-18 12:45:52 +01:00
parent b6fa2fd007
commit a7551693ec

View file

@ -1,6 +1,7 @@
{ config, pkgs, inputs, lib, ... }: { config, pkgs, inputs, lib, ... }:
let let
inherit (inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux") tailscale; inherit (inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux")
tailscale;
in { in {
systemd.services.tailscale-autoconnect = { systemd.services.tailscale-autoconnect = {
description = "Automatic connection to Tailscale"; description = "Automatic connection to Tailscale";
@ -25,7 +26,7 @@ in {
fi fi
# otherwise authenticate with tailscale # otherwise authenticate with tailscale
${tailscale}/bin/tailscale up -authkey tskey-ks9s9W5CNTRL-f17kqBq9YXjNXd6T7jeT9a ${tailscale}/bin/tailscale up -authkey tskey-kmTDw84CNTRL-WH1VhCX2XkFBZr84FfNm9Y
''; '';
}; };
} }