Cleanup and fixed

This commit is contained in:
soraefir
2026-05-03 15:34:10 +02:00
parent c8cb980c15
commit e9eb4d9506
7 changed files with 23 additions and 37 deletions

View File

@@ -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" ];
};
}