aboutsummaryrefslogtreecommitdiff
path: root/nix/machines/vm-synology/web.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-19 12:54:16 -0800
commitbc40b7e0ad2ef5960b7f1695b4520909252a0e49 (patch)
treef22e9e5001720bbc82055a5d4d3b24077b9647de /nix/machines/vm-synology/web.nix
parentuse treefmt to format all the files (diff)
downloadinfra-bc40b7e0ad2ef5960b7f1695b4520909252a0e49.tar.gz
switch to the newer version of nixfmt
`nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
Diffstat (limited to '')
-rw-r--r--nix/machines/vm-synology/web.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/nix/machines/vm-synology/web.nix b/nix/machines/vm-synology/web.nix
index f9c34cc..03fe831 100644
--- a/nix/machines/vm-synology/web.nix
+++ b/nix/machines/vm-synology/web.nix
@@ -1,9 +1,12 @@
-{ ... }: {
+{ ... }:
+{
# container for excalidraw
virtualisation.oci-containers.containers.excalidraw = {
autoStart = true;
image = "excalidraw/excalidraw:latest";
- environment = { TZ = "America/Los_Angeles"; };
+ environment = {
+ TZ = "America/Los_Angeles";
+ };
ports = [ "127.0.0.1:3030:80" ];
extraOptions = [ "--pull=always" ];
};
@@ -30,7 +33,9 @@
forceSSL = true;
enableACME = true;
locations = {
- "/" = { root = "/srv/www/fcuny.net"; };
+ "/" = {
+ root = "/srv/www/fcuny.net";
+ };
"/.well-known/acme-challenge" = {
root = "/var/lib/acme/acme-challenges";
};