This commit is contained in:
mjallen18
2026-03-18 21:24:58 -05:00
parent c1028fc0f0
commit d9f17670e1
7 changed files with 74 additions and 143 deletions

View File

@@ -11,7 +11,13 @@ let
glanceConfig = lib.${namespace}.mkModule {
inherit config name;
description = "glance";
options = { };
options = {
nasPoolPath = lib.mkOption {
type = lib.types.str;
default = cfg.dataDir;
description = "Path to the NAS pool mount to display in server-stats.";
};
};
moduleConfig = {
sops = {
secrets = {
@@ -75,7 +81,7 @@ let
"/home" = {
name = "Home";
};
"/media/nas/main" = {
"${cfg.nasPoolPath}" = {
name = "nas_pool";
};
};