gwydion: use zfs backend for docker

This commit is contained in:
Jez Cope 2022-07-25 21:56:25 +01:00
parent 9cdaeb6eb9
commit ca56f4d726
2 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,8 @@
};
};
virtualisation.docker.storageDriver = "zfs";
users.users.jez.uid = 1000;
users.groups.jez.gid = 1000;

View File

@ -27,6 +27,11 @@
fsType = "zfs";
};
fileSystems."/var/lib/docker" = {
device = "trough/DATA/docker";
fsType = "zfs";
};
fileSystems."/home/jez" = {
device = "trough/ROOT/nixos/home/jez";
fsType = "zfs";