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.
21 lines
379 B
Nix
21 lines
379 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
9 years ago
|
|
||
9 years ago
|
let
|
||
9 years ago
|
inherit (lib) mkIf mkMerge mkThenElse;
|
||
9 years ago
|
cfg = config.r6d.config-generator;
|
||
9 years ago
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
9 years ago
|
in
|
||
9 years ago
|
|
||
9 years ago
|
mkIf cfg.docker {
|
||
9 years ago
|
|
||
9 years ago
|
# Paquets
|
||
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
|
}
|