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