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

24 lines
414 B
Nix

{ user
, dataDir ? "/mnt/Data"
}:
{ ... }:
{
imports =
[
./fwbook.hardware-configuration.nix
];
services.fwupd.enable = true;
fileSystems."${dataDir}" = {
device = "/dev/sda1";
fsType = "ext4";
options = [
"users"
"nofail"
];
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;
}