forked from dan/liminix
border-vm: add tang service
This commit is contained in:
parent
493c5f69d7
commit
ba03ddeb38
@ -102,6 +102,12 @@ in {
|
|||||||
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
forwardPorts = [ {
|
||||||
|
from = "host";
|
||||||
|
host.port = 7654;
|
||||||
|
# guest.address = "10.0.2.15";
|
||||||
|
guest.port =7654;
|
||||||
|
} ];
|
||||||
qemu = {
|
qemu = {
|
||||||
networkingOptions = [ ];
|
networkingOptions = [ ];
|
||||||
options =
|
options =
|
||||||
@ -124,6 +130,12 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tang = {
|
||||||
|
enable = true;
|
||||||
|
ipAddressAllow = [ "10.0.0.0/24" "0.0.0.0/0" ];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
let wireshark-nogui = pkgs.wireshark.override { withQt = false ; };
|
let wireshark-nogui = pkgs.wireshark.override { withQt = false ; };
|
||||||
in with pkgs; [
|
in with pkgs; [
|
||||||
@ -134,6 +146,7 @@ in {
|
|||||||
iptables
|
iptables
|
||||||
usbutils
|
usbutils
|
||||||
busybox
|
busybox
|
||||||
|
clevis
|
||||||
];
|
];
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
networking = {
|
networking = {
|
||||||
|
Loading…
Reference in New Issue
Block a user