From 3328c23f35898a860c505b70280081d7c00ed358 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 26 Nov 2020 14:25:49 -0500 Subject: feat(gs/system): Enable docker on dev machines This was locked away in the urbint-specific module, but I use it elsewhere. Change-Id: Ifced2196dc22a9dbed74a18d4e1fed9488eb0e26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2152 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/system/system/machines/chupacabra.nix | 1 + users/glittershark/system/system/modules/development.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 users/glittershark/system/system/modules/development.nix diff --git a/users/glittershark/system/system/machines/chupacabra.nix b/users/glittershark/system/system/machines/chupacabra.nix index 6793d72118..d2060f9ab3 100644 --- a/users/glittershark/system/system/machines/chupacabra.nix +++ b/users/glittershark/system/system/machines/chupacabra.nix @@ -9,6 +9,7 @@ ../modules/rtlsdr.nix ../../../../../ops/nixos/v4l2loopback.nix ../modules/desktop.nix + ../modules/development.nix ]; hardware.enableRedistributableFirmware = true; diff --git a/users/glittershark/system/system/modules/development.nix b/users/glittershark/system/system/modules/development.nix new file mode 100644 index 0000000000..a36cd3a21f --- /dev/null +++ b/users/glittershark/system/system/modules/development.nix @@ -0,0 +1,5 @@ +{ config, lib, pkgs, ... }: + +{ + virtualisation.docker.enable = true; +} -- cgit 1.4.1