dotfiles/modules/os/core/fs/ext4.nix

16 lines
242 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
cfg = config.my.fs;
in {
config = lib.mkIf (cfg.type == "ext4") {
fileSystems = {
"/" = {
inherit (cfg) device;
fsType = "ext4";
options = [ "noatime" ];
};
};
};
}