Reorganize for zfs

This commit is contained in:
Charlotte Van Petegem 2020-05-23 09:59:32 +02:00
parent 2933964680
commit cfb48de40c
57 changed files with 817 additions and 492 deletions

13
configurations/docker.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }:
{
custom.zfs.systemLinks = [
{ path = "/var/lib/docker"; type = "cache"; }
{ path = "/var/lib/docker/volumes"; type = "data"; }
];
virtualisation.docker.enable = true;
users.users.charlotte.extraGroups = [
"docker"
];
}