netns: fix default addressblock value type
Also remove redundant definition in secure-node.nix
This commit is contained in:
parent
5ec9ea1f6d
commit
5e0e16529c
@ -50,7 +50,7 @@ in {
|
|||||||
|
|
||||||
addressblock = mkOption {
|
addressblock = mkOption {
|
||||||
type = types.ints.u8;
|
type = types.ints.u8;
|
||||||
default = "1";
|
default = 1;
|
||||||
description = ''
|
description = ''
|
||||||
The address block N in 169.254.N.0/24, used as the prefix for netns addresses.
|
The address block N in 169.254.N.0/24, used as the prefix for netns addresses.
|
||||||
'';
|
'';
|
||||||
|
@ -49,11 +49,6 @@ in {
|
|||||||
hiddenServices.sshd = mkHiddenService { port = 22; };
|
hiddenServices.sshd = mkHiddenService { port = 22; };
|
||||||
};
|
};
|
||||||
|
|
||||||
# netns-isolation
|
|
||||||
nix-bitcoin.netns-isolation = {
|
|
||||||
addressblock = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
# bitcoind
|
# bitcoind
|
||||||
services.bitcoind = {
|
services.bitcoind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user