about summary refs log tree commit diff
path: root/users/tazjin/nixos/frog/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-25T13·38+0100
committertazjin <mail@tazj.in>2020-07-25T13·46+0000
commit2ed077810303d4476a572229260d5c45ca5f1290 (patch)
tree1560445d56653e2ff7ce2de2df94bbd10f1a1cc7 /users/tazjin/nixos/frog/default.nix
parentbbbb97e1422de0cc365d1884eb2604d07ffb3321 (diff)
chore(tazjin/frog): Enable Docker for Nixery testing r/1470
Change-Id: Ia0ffb781fc61f42aa4ad043a6f73fa995eb2c1b5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1434
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/nixos/frog/default.nix')
-rw-r--r--users/tazjin/nixos/frog/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix
index d15a3029f34f..c868be78f4e9 100644
--- a/users/tazjin/nixos/frog/default.nix
+++ b/users/tazjin/nixos/frog/default.nix
@@ -113,7 +113,7 @@ in depot.lib.fix(self: {
 
   # Configure user account
   users.extraUsers.tazjin = {
-    extraGroups = [ "wheel" "audio" ];
+    extraGroups = [ "wheel" "audio" "docker" ];
     isNormalUser = true;
     uid = 1000;
     shell = nixpkgs.fish;
@@ -163,6 +163,12 @@ in depot.lib.fix(self: {
     nixpkgs.yubikey-personalization
   ];
 
+  # Enable Docker for Nixery testing
+  virtualisation.docker = {
+    enable = true;
+    autoPrune.enable = true;
+  };
+
   services.xserver = {
     enable = true;
     layout = "us";