Cleanup and fixed
This commit is contained in:
@@ -1,14 +1,27 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix" ) ];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
efiSupport = true;
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda3";
|
||||
device = "/dev/disk/by-uuid/abc944c6-484a-4abe-a675-906e3781d71f";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/C555-300B";
|
||||
fsType = "vfat";
|
||||
options = [ "defaults" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user