complete restructure
This commit is contained in:
25
modules/dev/docker.nix
Normal file
25
modules/dev/docker.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
# modules/dev/docker.nix
|
||||
# Docker container runtime
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
flags = [ "--all" ];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
lazydocker
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user