aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/herra/ai.nix6
-rw-r--r--system/virtualisation.nix1
2 files changed, 1 insertions, 6 deletions
diff --git a/hosts/herra/ai.nix b/hosts/herra/ai.nix
index c261506..ccef5a7 100644
--- a/hosts/herra/ai.nix
+++ b/hosts/herra/ai.nix
@@ -1,11 +1,5 @@
{pkgs, ...}: {
# ----------------------------
- # Docker runtime (for UI only)
- # ----------------------------
- virtualisation.docker.enable = true;
- virtualisation.docker.autoPrune.enable = true;
-
- # ----------------------------
# Ollama (native, stable core)
# ----------------------------
services.ollama = {
diff --git a/system/virtualisation.nix b/system/virtualisation.nix
index 69c236e..4737e42 100644
--- a/system/virtualisation.nix
+++ b/system/virtualisation.nix
@@ -1,6 +1,7 @@
{...}: {
virtualisation.docker = {
enable = true;
+ autoPrune.enable = true;
};
virtualisation.oci-containers = {
backend = "docker";