diff --git a/dot_config/flake/machines/saffron/configuration.nix b/dot_config/flake/machines/saffron/configuration.nix index ae43808..518a42e 100644 --- a/dot_config/flake/machines/saffron/configuration.nix +++ b/dot_config/flake/machines/saffron/configuration.nix @@ -1,4 +1,8 @@ -{pkgs, outputs, ...}: { +{ + pkgs, + outputs, + ... +}: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix @@ -21,7 +25,10 @@ boot.loader.grub.device = "nodev"; boot.loader.efi.efiSysMountPoint = "/efi"; - services.tailscale.enable = true; + services.tailscale = { + package = pkgs.unstable.tailscale; + enable = true; + }; networking.hostName = "saffron"; # Define your hostname. @@ -29,8 +36,8 @@ services.caddy = { enable = true; package = pkgs.caddy.withPlugins { - plugins = ["github.com/caddy-dns/cloudflare"]; - vendorHash = "sha256-A9V8WgJnalU3YzuKu3D1wJjSC1MQaH2HvOvBdLzFWl4="; + plugins = ["github.com/caddy-dns/cloudflare@v0.2.2"]; + hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc="; }; environmentFile = "/etc/caddy/environment"; virtualHosts."rss.mayoff.ca" = { @@ -38,7 +45,7 @@ tls { dns cloudflare {env.CLOUDFLARE_API_TOKEN} } - reverse_proxy MINIFLUX_TAILSCALE_IP:PORT + reverse_proxy serenity.pizzly-bortle.ts.net:5600 ''; }; };