14 lines
266 B
Nix
14 lines
266 B
Nix
{ custom }: { pkgs, ... }:
|
|
{
|
|
virtualisation.docker =
|
|
{
|
|
enable = true;
|
|
autoPrune.enable = true;
|
|
};
|
|
users.users.${custom.username}.extraGroups = [ "docker" ];
|
|
environment.systemPackages = with pkgs; [
|
|
docker-compose
|
|
lazydocker
|
|
];
|
|
}
|