docker-low

This commit is contained in:
2025-10-27 10:29:20 +00:00
parent 2ac4813e0c
commit 60e87036a5

View File

@@ -38,6 +38,13 @@ in
}; };
}; };
systemd.slices."docker-low.slice" = {
sliceConfig = {
CPUWeight = 1;
IOWeight = 1;
};
};
programs = { programs = {
firefox = { firefox = {
enable = true; enable = true;
@@ -141,6 +148,9 @@ in
daemon.settings = { daemon.settings = {
storage-driver = "btrfs"; storage-driver = "btrfs";
registry-mirrors = [ "https://mirror.gcr.io" ]; registry-mirrors = [ "https://mirror.gcr.io" ];
exec-opts = [ "native.cgroupdriver=systemd" ];
cgroup-parent = "docker-low.slice";
}; };
}; };