{ lib, config, ... }: with lib; let cfg = config.local; in { imports = [ ./btrfs.nix ./layout.nix ]; options.local.fs.boot.device = with lib.types; mkOption { type = str; }; config = { # !!! boot.tmpOnTmpfs = true; fileSystems."/boot" = { inherit (cfg.fs.boot) device; fsType = "vfat"; options = [ "noatime" "umask=027" ]; }; }; }