aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-06-01 20:35:54 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-06-01 20:35:54 +0200
commit6c6c5e1d65f7c5c69a5fe362eb677ff9db9e2d86 (patch)
treea69f7d2cacfedc8503f604a7b37a31342a472ae6
parente7d83bea3477843985e5474a0754433531aceb48 (diff)
Moved docker config from herra ai.nix to system/virtualisation.nix
-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";