| | |
| | | options = [ "fmask=0077" "dmask=0077" ]; |
| | | }; |
| | | |
| | | boot.zfs.extraPools = [ "pool" ]; |
| | | |
| | | # fileSystems."/var/lib/docker" = |
| | | # { device = "/pool/docker/var"; |
| | | # options = [ "bind" ]; |
| | | # }; |
| | | fileSystems."/pool" = |
| | | { device = "/dev/disk/by-uuid/8c98df84-c85c-401b-8d44-4cec5a87fd82"; |
| | | fsType = "bcachefs"; |
| | | options = [ "compression=zstd" ]; |
| | | }; |
| | | |
| | | swapDevices = [ ]; |
| | | |
| | |
| | | }; |
| | | }; |
| | | |
| | | services.zfs = { |
| | | autoScrub.enable = true; |
| | | trim.enable = true; |
| | | }; |
| | | |
| | | # 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 |
| | | # still possible to use this option, but it's recommended to use it in conjunction |