liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9899fa91f67bd3fe3ff048a33c87819c694efc11
parent b438a0fd17e865ecbeefea7e3d9e53ec15853a1b
Author: Daniel Barlow <dan@telent.net>
Date:   Wed, 15 Feb 2023 20:45:44 +0000

bordervm static ethernet and tftp server

Diffstat:
Mdefault.nix | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/default.nix b/default.nix @@ -44,6 +44,12 @@ let ExecStart = "${pkgs.pkgsBuildBuild.go-l2tp}/bin/kpppoed -config ${conf}"; }; }; + systemd.services.tufted = { + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + ExecStart = "${pkgs.pkgsBuildBuild.tufted}/bin/tufted /home/liminix/liminix"; + }; + }; virtualisation = { qemu = { networkingOptions = []; @@ -65,6 +71,10 @@ let networking = { hostName = "border"; firewall = { enable = false; }; + interfaces.eth1 = { + useDHCP = false; + ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}]; + }; }; users.users.liminix = { isNormalUser = true;