mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 06:42:51 +03:00
Another type correction in tor module
This commit is contained in:
parent
080251f060
commit
ab438a4d51
@ -671,7 +671,7 @@ in
|
|||||||
version = mkOption {
|
version = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
description = "If configured, the hidden service uses version 3";
|
description = "If configured, the hidden service uses version 3";
|
||||||
type = types.nullOr (types.addCheck types.int (x: x == 2 || x == 3));
|
type = types.nullOr (types.enum [ 2 3 ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user