change docker base storage to be on SSD

This commit is contained in:
2026-03-27 23:00:33 +01:00
parent a6a3b32765
commit 2f940c8094
2 changed files with 7 additions and 4 deletions

View File

@@ -21,10 +21,10 @@
fsType = "ext4";
};
#fileSystems."/srv/dev-disk-by-uuid-0fc5586c-ed51-4b02-9a87-4a733ea353a7" =
# { device = "/dev/mapper/base--storage-Docker";
# fsType = "ext4";
# };
fileSystems."/srv/docker" =
{ device = "/dev/mapper/base--storage-Docker";
fsType = "ext4";
};
fileSystems."/srv/private" =
{ device = "/dev/mapper/base--storage-ShatteredMINT";

View File

@@ -1,5 +1,8 @@
{config, pkgs, ...}@input: {
virtualisation.docker = {
enable = true;
daemon.settings = {
data-root = "/srv/docker";
};
};
}