From 0e84a3827373842e28fa7831ad0a2d3f28bba6de Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 17 Oct 2017 16:18:11 +0200 Subject: [PATCH] feat: Enable VirtualBox & Docker --- configuration.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index c03dc06eb..ca97e3d90 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,18 +16,23 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - hardware.pulseaudio.enable = true; - - # Set your time zone. time.timeZone = "Europe/Oslo"; - # Configure shell environment + # Configure shell environment: programs.fish.enable = true; programs.ssh.startAgent = true; services.emacs.enable = true; services.emacs.defaultEditor = true; + # Configure VirtualBox (needed for local NixOps testing): + virtualisation.virtualbox.host.enable = true; + + # Configure Docker (with socket activation): + # Side note: ... virtualisation? ... + virtualisation.docker.enable = true; + virtualisation.docker.autoPrune.enable = true; + # Configure other random applications: programs.java.enable = true;