2023-12-01 11:58:41 +01:00
|
|
|
{ pkgs, ... }: {
|
2023-11-25 07:17:29 +01:00
|
|
|
virtualisation.docker = {
|
|
|
|
enable = true;
|
|
|
|
enableOnBoot = true;
|
|
|
|
autoPrune.enable = true;
|
|
|
|
autoPrune.dates = "weekly";
|
|
|
|
storageDriver = "btrfs";
|
|
|
|
liveRestore = true;
|
|
|
|
};
|
2023-12-01 11:58:41 +01:00
|
|
|
|
2023-12-01 12:01:38 +01:00
|
|
|
environment.systemPackages = with pkgs; [ docker-compose ];
|
2023-11-25 07:17:29 +01:00
|
|
|
}
|