about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix
index c03dc06ebbe1..ca97e3d9039c 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;