mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
Reorder option declarations slightly
This commit is contained in:
parent
a8b475be84
commit
930e635a51
6 changed files with 9 additions and 9 deletions
|
|
@ -10,10 +10,6 @@ in
|
|||
{
|
||||
options.custom.services.victorialogs = {
|
||||
enable = lib.mkEnableOption "";
|
||||
maxDiskSpaceUsage = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "10GiB";
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -22,6 +18,10 @@ in
|
|||
type = lib.types.port;
|
||||
default = 9428;
|
||||
};
|
||||
maxDiskSpaceUsage = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "10GiB";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue