summaryrefslogtreecommitdiffstats
path: root/lass/2configs/dcso-dev.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/dcso-dev.nix')
-rw-r--r--lass/2configs/dcso-dev.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/lass/2configs/dcso-dev.nix b/lass/2configs/dcso-dev.nix
index 62a601dc3..41a73a499 100644
--- a/lass/2configs/dcso-dev.nix
+++ b/lass/2configs/dcso-dev.nix
@@ -9,7 +9,7 @@ in {
dev = {
name = "dev";
uid = genid "dev";
- extraGroups = [ "docker" ];
+ extraGroups = [ "docker" "vboxusers" ];
description = "user for collaborative development";
home = "/home/dev";
useDefaultShell = true;
@@ -60,8 +60,14 @@ in {
${mainUser.name} ALL=(dev) NOPASSWD: ALL
'';
- services.rabbitmq.enable = true;
networking.interfaces.et0.ipv4.addresses = [
{ address = "10.99.23.1"; prefixLength = 24; }
];
+ virtualisation.docker.enable = true;
+ environment.etc."docker/daemon.json".source = pkgs.writeText "daemon.json" ''
+ {
+ "bip": "172.25.0.1/16"
+ }
+ '';
+ services.rabbitmq.enable = true;
}