From 4ce99393b6e5e9594cf5b7102cc56e676b5d582c Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 29 Dec 2025 15:50:23 -0600 Subject: [PATCH] update beszel defaults and expose filesystems config --- flakes/beszel/flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flakes/beszel/flake.nix b/flakes/beszel/flake.nix index c04ca2ba..ab947056 100644 --- a/flakes/beszel/flake.nix +++ b/flakes/beszel/flake.nix @@ -48,6 +48,11 @@ description = "The hub url"; default = "http://100.64.0.13:8090"; }; + extraFilesystems = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = "The EXTRA_FILESYSTEMS variable value"; + default = null; + }; }; config = { services.beszel.agent = { @@ -59,6 +64,9 @@ HUB_URL = config.beszelAgent.hub; TOKEN = config.beszelAgent.token; KEY = config.beszelAgent.key; + EXTRA_FILESYSTEMS = lib.mkIf ( + config.beszelAgent.extraFilesystems != null + ) config.beszelAgent.extraFilesystems; }; }; };