Initial commit

This commit is contained in:
Ghostfox
2026-03-30 00:20:36 +02:00
commit 63b75b2e8f
56 changed files with 2581 additions and 0 deletions

25
modules/server/docker.nix Normal file
View File

@@ -0,0 +1,25 @@
{ pkgs, ... }:
{
virtualisation.docker = {
enable = true;
daemon.settings = {
experimental = true;
default-address-pools = [
{
base = "172.16.0.0/8";
size = 25;
}
];
};
};
services.cron = {
enable = true;
systemCronJobs = [
"0 5 * * * root docker system prune -f"
];
};
environment.systemPackages = with pkgs; [
docker-compose
];
}