24 lines
467 B
Nix
24 lines
467 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
boot = {
|
|
kernelParams = ["nohibernate" "ipv6.disable=1"];
|
|
tmp.cleanOnBoot = true;
|
|
# supportedFilesystems = ["ntfs"];
|
|
loader = {
|
|
grub = {
|
|
device = "nodev";
|
|
efiSupport = true;
|
|
enable = true;
|
|
useOSProber = true;
|
|
timeoutStyle = "menu";
|
|
efiInstallAsRemovable = true;
|
|
extraConfig = ''
|
|
insmod tpm
|
|
'';
|
|
};
|
|
timeout = 300;
|
|
};
|
|
};
|
|
}
|