[NixOS] Use grub for uber-loaner

This commit is contained in:
Ivan Malison 2018-06-16 19:18:11 -07:00
parent f5c97ae7e1
commit a748a6c85a

View File

@ -9,6 +9,14 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.enable = true;
fileSystems."/boot" = {
device = "/dev/disk/by-label/EFI";
fsType = "vfat";
};
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/2958f04b-8387-4a0c-abc1-f12036c53581"; { device = "/dev/disk/by-uuid/2958f04b-8387-4a0c-abc1-f12036c53581";
@ -20,8 +28,13 @@
fsType = "tmpfs"; fsType = "tmpfs";
}; };
environment.systemPackages = [
pkgs.linuxPackages.rtl8814au
];
swapDevices = [ ]; swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
users.extraUsers.root.initialHashedPassword = "";
} }