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