From 2ed077810303d4476a572229260d5c45ca5f1290 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 25 Jul 2020 14:38:44 +0100 Subject: chore(tazjin/frog): Enable Docker for Nixery testing Change-Id: Ia0ffb781fc61f42aa4ad043a6f73fa995eb2c1b5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1434 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/nixos/frog/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix index d15a3029f3..c868be78f4 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"; -- cgit 1.4.1