netns: fix default addressblock value type

Also remove redundant definition in secure-node.nix
This commit is contained in:
Erik Arvstedt 2020-10-20 18:20:36 +02:00
parent 5ec9ea1f6d
commit 5e0e16529c
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 1 additions and 6 deletions

View File

@ -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.
''; '';

View File

@ -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;