20 lines
542 B
Nix
20 lines
542 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options.services.panoramax = {
|
|
impermanence.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = config.services.panoramax.enable && config.host.impermanence.enable;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf config.services.panoramax.impermanence.enable {
|
|
# TODO: configure impermanence for panoramax data
|
|
# This would typically include directories like:
|
|
# - /var/lib/panoramax
|
|
# - panoramax storage directories
|
|
# - any cache or temporary directories that need to persist
|
|
};
|
|
}
|