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:21:37 +02:00
parent 5ec9ea1f6d
commit 5e0e16529c
2 changed files with 1 additions and 6 deletions
+1 -1
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.
''; '';
-5
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;