This commit is contained in:
parent
57feedf5b8
commit
b1a58a8678
1 changed files with 9 additions and 1 deletions
|
@ -9,6 +9,7 @@ in {
|
|||
# Nix Config
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
# Kernel
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "cryptd" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
|
@ -17,8 +18,14 @@ in {
|
|||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "60dbcc20";
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
# Boot Process
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.plymouth.enable = true;
|
||||
boot.plymouth.logo = pkgs.fetchurl {
|
||||
url = "https://forum.auxolotl.org/uploads/default/original/1X/be37690f0748737fc813dd3592848f5323a7f277.png";
|
||||
hash = "sha256-+E7mAoEMnHsavKzEdTosli08Oohq+yt3WB4Uhwpi0Vg=";
|
||||
};
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot";
|
||||
|
||||
|
@ -38,6 +45,7 @@ in {
|
|||
# Misc
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
# Firmware
|
||||
hardware.apple-t2.firmware.enable = true;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue