nix/nixos/hosts/framework-server/docker.nix
2023-12-01 20:01:38 +09:00

12 lines
No EOL
302 B
Nix

{ pkgs, ... }: {
virtualisation.docker = {
enable = true;
enableOnBoot = true;
autoPrune.enable = true;
autoPrune.dates = "weekly";
storageDriver = "btrfs";
liveRestore = true;
};
environment.systemPackages = with pkgs; [ docker-compose ];
}