{ lib, pkgs, ... }: let mkBtrfs = lib.mkOverride 820; # https://wiki.nixos.org/wiki/Btrfs nixosConfig = { services.btrfs = { autoScrub.enable = mkBtrfs true; }; # Make docker work with btrfs virtualisation.docker.storageDriver = mkBtrfs "btrfs"; }; homeConfig = {}; in { imports = [ (lib._mkProfileArchetype "btrfs" nixosConfig homeConfig) ]; }