nixos-config/system/containers.nix
2024-06-05 01:20:01 -03:00

12 lines
338 B
Nix

{ pkgs, ... }: {
services.flatpak.enable = true;
virtualisation.docker.enable = true;
virtualisation.docker.autoPrune.enable = true;
virtualisation.docker.autoPrune.dates = "monthly";
virtualisation.docker.autoPrune.flags = [ "--all --volumes" ];
programs.extra-container.enable = true;
programs.firejail.enable = true;
}