20 lines
258 B
Nix
20 lines
258 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
|
|
];
|
|
}
|