cleanup
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user