border-vm: add tang service

This commit is contained in:
Daniel Barlow 2024-10-06 12:38:06 +01:00
parent 493c5f69d7
commit ba03ddeb38
1 changed files with 13 additions and 0 deletions

View File

@ -102,6 +102,12 @@ in {
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
virtualisation = {
forwardPorts = [ {
from = "host";
host.port = 7654;
# guest.address = "10.0.2.15";
guest.port =7654;
} ];
qemu = {
networkingOptions = [ ];
options =
@ -124,6 +130,12 @@ in {
};
};
};
services.tang = {
enable = true;
ipAddressAllow = [ "10.0.0.0/24" "0.0.0.0/0" ];
};
environment.systemPackages =
let wireshark-nogui = pkgs.wireshark.override { withQt = false ; };
in with pkgs; [
@ -134,6 +146,7 @@ in {
iptables
usbutils
busybox
clevis
];
security.sudo.wheelNeedsPassword = false;
networking = {