os/modules/docker/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
268 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
...
}:
with lib; let
2021-05-30 19:10:28 +00:00
psCfg = config.pub-solar;
in {
virtualisation.docker.enable = true;
2021-05-30 19:10:28 +00:00
users.users."${psCfg.user.name}" = {
extraGroups = ["docker"];
2021-05-30 19:10:28 +00:00
};
environment.systemPackages = with pkgs; [
docker-compose
];
2021-05-30 19:10:28 +00:00
}