NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
666 B

1 year ago
  1. { lib, pkgs, config, modulesPath, ... }:
  2. with lib;
  3. {
  4. imports = [
  5. "${modulesPath}/installer/scan/not-detected.nix"
  6. ];
  7. boot.loader.systemd-boot.enable = true;
  8. boot.loader.efi.canTouchEfiVariables = true;
  9. boot.initrd.systemd.enable = true;
  10. boot.initrd.availableKernelModules = [
  11. "uhci_hcd"
  12. "ehci_pci"
  13. "ata_piix"
  14. "mptsas"
  15. "usb_storage"
  16. "usbhid"
  17. "sd_mod"
  18. "sr_mod"
  19. ];
  20. boot.initrd.kernelModules = [ ];
  21. boot.kernelModules = [ "kvm-intel" ];
  22. boot.extraModulePackages = [ ];
  23. nixpkgs.hostPlatform = "x86_64-linux";
  24. hardware.enableRedistributableFirmware = true;
  25. hardware.cpu.intel.updateMicrocode = true;
  26. }