mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
victorialogs: Remove option maxDiskSpaceUsage
This commit is contained in:
parent
bdc1cb064a
commit
31074c0b7b
1 changed files with 0 additions and 5 deletions
|
|
@ -18,10 +18,6 @@ in
|
|||
type = lib.types.port;
|
||||
default = 9428;
|
||||
};
|
||||
maxDiskSpaceUsage = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "10GiB";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
@ -59,7 +55,6 @@ in
|
|||
}
|
||||
);
|
||||
listenAddress = "localhost:${toString cfg.port}";
|
||||
extraOptions = [ "-retention.maxDiskSpaceUsageBytes=${cfg.maxDiskSpaceUsage}" ];
|
||||
};
|
||||
|
||||
custom.persist.directories = [ "/var/lib/${config.services.victorialogs.stateDir}" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue