You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
348 B
Nix
19 lines
348 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
9 years ago
|
|
||
9 years ago
|
let
|
||
|
inherit (lib) mkIf;
|
||
|
cfg = config.r6d.config-generator;
|
||
9 years ago
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
|
|
||
|
in mkIf cfg.docker {
|
||
9 years ago
|
|
||
9 years ago
|
environment.systemPackages = with pkgs; [
|
||
9 years ago
|
# Ecosystème Docker
|
||
|
docker
|
||
|
python27Packages.docker_compose
|
||
|
];
|
||
9 years ago
|
|
||
9 years ago
|
virtualisation.docker.enable = true;
|
||
9 years ago
|
}
|