Move Docker configuration
All checks were successful
/ check (push) Successful in 1m36s

This commit is contained in:
Oliver Davies 2025-07-24 23:53:29 +01:00
parent 1b360709f8
commit a3e4cd0e13
4 changed files with 4 additions and 13 deletions

View file

@ -2,7 +2,6 @@
imports = [
./avahi.nix
./dconf.nix
./docker.nix
./dwm
./fonts.nix
./gitea-actions-runner.nix

View file

@ -1,25 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.cli.docker;
in
{
options.features.cli.docker.enable = mkEnableOption "Enable docker";
config = mkIf cfg.enable {
virtualisation = {
oci-containers.backend = "docker";
docker = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
};
};
}