20 lines
268 B
Nix
20 lines
268 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
psCfg = config.pub-solar;
|
|
in {
|
|
virtualisation.docker.enable = true;
|
|
|
|
users.users."${psCfg.user.name}" = {
|
|
extraGroups = ["docker"];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
docker-compose
|
|
];
|
|
}
|