nixos/containers: set storage.settings via mkDefault

to make them easily overwriteable, aka without mkForce
This commit is contained in:
Sandro Jäckel 2024-05-06 16:34:00 +02:00
parent 7e96a7c4e5
commit d8137e77ec
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -118,9 +118,9 @@ in
};
virtualisation.containers.storage.settings.storage = {
driver = "overlay";
graphroot = "/var/lib/containers/storage";
runroot = "/run/containers/storage";
driver = lib.mkDefault "overlay";
graphroot = lib.mkDefault "/var/lib/containers/storage";
runroot = lib.mkDefault "/run/containers/storage";
};
environment.etc = {