mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 17:08:46 +08:00
19 lines
295 B
Nix
19 lines
295 B
Nix
|
{ efi }: inputs:
|
||
|
{
|
||
|
config =
|
||
|
{
|
||
|
boot =
|
||
|
{
|
||
|
loader =
|
||
|
{
|
||
|
timeout = 5;
|
||
|
systemd-boot.enable = true;
|
||
|
efi.canTouchEfiVariables = efi;
|
||
|
};
|
||
|
initrd.systemd.enable = true;
|
||
|
kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest;
|
||
|
};
|
||
|
hardware.enableAllFirmware = true;
|
||
|
};
|
||
|
}
|