about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-26T19·25-0500
committerglittershark <grfn@gws.fyi>2020-11-26T19·28+0000
commit3328c23f35898a860c505b70280081d7c00ed358 (patch)
tree099fb2d408e2fb97a22ba0b6fb7b7bc1ad6ba4ed
parentc7cb806ad9f4d870b86f2a78b69ca47e24916a37 (diff)
feat(gs/system): Enable docker on dev machines r/1921
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 <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/system/system/machines/chupacabra.nix1
-rw-r--r--users/glittershark/system/system/modules/development.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/chupacabra.nix b/users/glittershark/system/system/machines/chupacabra.nix
index 6793d7211836..d2060f9ab31b 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 000000000000..a36cd3a21f61
--- /dev/null
+++ b/users/glittershark/system/system/modules/development.nix
@@ -0,0 +1,5 @@
+{ config, lib, pkgs, ... }:
+
+{
+  virtualisation.docker.enable = true;
+}