at 16.09-beta 433 B view raw
1{ config, pkgs, ... }: 2 3{ 4 imports = [ 5 ../profiles/docker-container.nix # FIXME, shouldn't include something from profiles/ 6 ]; 7 8 boot.postBootCommands = 9 '' 10 # Set virtualisation to docker 11 echo "docker" > /run/systemd/container 12 ''; 13 14 # Iptables do not work in Docker. 15 networking.firewall.enable = false; 16 17 # Socket activated ssh presents problem in Docker. 18 services.openssh.startWhenNeeded = false; 19}