tinc-test: clean sterni from tinc.test
This commit is contained in:
parent
10c334cd5d
commit
da863a77ea
2 changed files with 2 additions and 15 deletions
|
@ -4,21 +4,13 @@ with lib;
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
<test-config/nixserver-server/tinc.nix>
|
||||
];
|
||||
|
||||
module.cluster.services.tinc = {
|
||||
"private" = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
openPort = true;
|
||||
connectTo = [ "sputnik" ];
|
||||
};
|
||||
"retiolum" = {
|
||||
enable = false;
|
||||
openPort = true;
|
||||
};
|
||||
"test" = {
|
||||
enable = true;
|
||||
openPort = true;
|
||||
};
|
||||
|
|
|
@ -71,11 +71,6 @@ let
|
|||
pkgs.file = toString ./pkgs;
|
||||
assets.file = toString ./assets;
|
||||
|
||||
# test-tinc
|
||||
test-assets.file = toString ./terranix/tinc-test/02-build/assets;
|
||||
test-config.file = toString ./terranix/tinc-test/02-build/configs;
|
||||
test-generated.file = toString ./terranix/tinc-test/02-build/generated;
|
||||
|
||||
nix-writers.git = {
|
||||
url = "https://cgit.krebsco.de/nix-writers/";
|
||||
ref = (ops.importJson ./.nix-writers.json).rev;
|
||||
|
@ -122,7 +117,7 @@ let
|
|||
|
||||
};
|
||||
|
||||
hostPattern = name: "localhost";
|
||||
hostPattern = name: "${name}.private";
|
||||
|
||||
serverDeployment = name:
|
||||
{ host ? (hostPattern name), user ? "root" }:
|
||||
|
|
Loading…
Reference in a new issue