Files
nixos-setup/hosts/fwbook.nix
T
2024-04-27 13:19:02 -04:00

21 lines
335 B
Nix

{ user
, dataDir ? "/mnt/Data"
}:
{ ... }:
{
imports =
[
./fwbook.hardware-configuration.nix
];
hardware.framework.amd-7040.preventWakeOnAC = true;
services.fwupd.enable = true;
fileSystems."${dataDir}" = {
device = "/dev/sda1";
fsType = "ext4";
options = [
"users"
"nofail"
];
};
}