reformat
This commit is contained in:
parent
da863a77ea
commit
a69e393644
2 changed files with 5 additions and 9 deletions
|
@ -10,7 +10,8 @@
|
|||
to = 60100;
|
||||
}];
|
||||
services.sshd.enable = true;
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [ <test-generated/sshkey.pub> ];
|
||||
users.users.root.openssh.authorizedKeys.keyFiles =
|
||||
[ <test-generated/sshkey.pub> ];
|
||||
|
||||
# wireshark
|
||||
programs.wireshark.enable = true;
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
# shared tinc file between client and server
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
nixosMachines = import <test-generated/nixos-machines.nix>;
|
||||
let nixosMachines = import <test-generated/nixos-machines.nix>;
|
||||
in {
|
||||
|
||||
imports = [
|
||||
<cluster-module>
|
||||
];
|
||||
imports = [ <cluster-module> ];
|
||||
|
||||
networking.firewall.trustedInterfaces = [ "tinc.private" ];
|
||||
|
||||
|
@ -22,9 +19,7 @@ in {
|
|||
hosts = {
|
||||
server = {
|
||||
tincIp = "10.123.142.1";
|
||||
realAddress = [
|
||||
nixosMachines.nixserver-server.host.ipv4
|
||||
];
|
||||
realAddress = [ nixosMachines.nixserver-server.host.ipv4 ];
|
||||
publicKey = lib.fileContents <test-assets/tinc/server_host_file>;
|
||||
};
|
||||
sterni = {
|
||||
|
|
Loading…
Reference in a new issue