Move some zfs stuff around
This commit is contained in:
parent
fcb5af7894
commit
3e09cc7444
3 changed files with 6 additions and 11 deletions
|
@ -1,11 +1,12 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
chvp.zfs.systemLinks = [
|
||||
{ path = "/var/lib/docker"; type = "cache"; }
|
||||
{ path = "/var/lib/docker/volumes"; type = "data"; }
|
||||
];
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
extraOptions = "--data-root /data/var/lib/docker";
|
||||
storageDriver = "zfs";
|
||||
};
|
||||
|
||||
users.users.charlotte.extraGroups = [
|
||||
"docker"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue