6e6b52ae3c
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
16 lines
242 B
Nix
16 lines
242 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.fs;
|
|
in {
|
|
config = lib.mkIf (cfg.type == "ext4") {
|
|
fileSystems = {
|
|
"/" = {
|
|
inherit (cfg) device;
|
|
fsType = "ext4";
|
|
options = [ "noatime" ];
|
|
};
|
|
};
|
|
};
|
|
}
|