nixFlake/common/nixos/docker.nix
2024-09-21 10:40:10 -07:00

24 lines
356 B
Nix

{
config,
lib,
pkgs,
inputs,
outputs,
...
}: {
virtualisation.docker = {
enable = true;
liveRestore = false;
autoPrune = {
enable = true;
flags = ["--all"];
};
};
users.users.kdb424.extraGroups = ["docker"];
networking.firewall.enable = false;
environment.systemPackages = with pkgs; [
docker
];
}