monolith: add docker subvolume

This commit is contained in:
Leonardo Eugênio 2024-05-30 16:53:51 -03:00
parent 3b411b0c6d
commit cbeaa72101

View file

@ -115,6 +115,12 @@ in
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@projects" "nofail" ] ++ btrfs_options ++ btrfs_ssd; options = [ "subvol=@projects" "nofail" ] ++ btrfs_options ++ btrfs_ssd;
}; };
fileSystems."/var/lib/docker" = {
device = "/dev/disk/by-label/BTRFS_BIGBOY";
fsType = "btrfs";
options = [ "subvol=@docker" "nofail" ] ++ btrfs_options ++ btrfs_ssd;
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction