nixos/faucet/fs/xfs.nix

12 lines
214 B
Nix
Raw Normal View History

{ lib
, config
, ... }: with lib; let
cfg = config.faucet.fs;
in mkIf (cfg.type == "xfs") {
# NOTE: -m reflink=1
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/${cfg.store}";
fsType = "xfs";
};
}