This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
vxlan-router/vm/vm.nix

27 lines
474 B
Nix

{ pkgs, ... }:
{
virtualisation = {
memorySize = 4 * 1024;
cores = 4;
};
nixos-shell.mounts = {
mountHome = false;
extraMounts."/root/vxlan" = {
target = ./..;
cache = "none";
};
};
programs.mininet.enable = true;
users.users.root.packages = [
pkgs.inetutils
pkgs.tcpdump
(pkgs.python3.withPackages (ps: with ps; [
mininet-python
distutils
packaging
]))
];
system.stateVersion = "25.05";
}