nixpkgs/nixos/modules
Eelco Dolstra 333bfe16c4 Containers: Support setting up macvlan interfaces
By setting a line like

  MACVLANS="eno1"

in /etc/containers/<name>.conf, the container will get an Ethernet
interface named mv-eno1, which represents an additional MAC address on
the physical eno1 interface. Thus the container has direct access to
the physical network. You can specify multiple interfaces in MACVLANS.

Unfortunately, you can't do this with wireless interfaces.

Note that dhcpcd is disabled in containers by default, so you'll
probably want to set

  networking.useDHCP = true;

in the container, or configure a static IP address.

To do: add a containers.* option for this, and a flag for
"nixos-container create".
2014-05-07 17:53:57 +02:00
..
config Fix users.*.extraGroups for users.mutableUsers = true. 2014-05-05 15:35:16 +02:00
hardware On my system OpenGL with bumblebee seems to require libudev in LD_LIBRARY_PATH. Fix that, fix bumblebee module loading and make the socket group configurable 2014-05-02 14:32:47 +04:00
installer Mark builds from git explicitly 2014-05-01 15:05:14 +02:00
misc nixos: overhaul datadog module 2014-05-02 01:24:35 -05:00
profiles Don't start getty@tty1 on headless machines (like EC2) 2014-05-05 16:47:36 +02:00
programs Remove obsolete zsh help text 2014-04-30 11:26:39 +02:00
security polkit: Remove unnecessary restart 2014-04-28 23:57:37 +02:00
services Containers: Use systemd-nspawn's --network-veth flag 2014-05-07 17:53:57 +02:00
system Don't run hwclock if /dev/rtc doesn't exist 2014-05-05 16:47:51 +02:00
tasks cpufreq: Don't fail if the CPU doesn't support frequency setting 2014-04-28 19:13:04 +02:00
testing Fix the installer test 2014-04-20 01:56:11 +02:00
virtualisation Containers: Support setting up macvlan interfaces 2014-05-07 17:53:57 +02:00
module-list.nix Disable autofs module 2014-04-29 15:34:55 +02:00
rename.nix Remove the option ‘programs.bash.enable’ 2014-04-29 19:00:39 +02:00