All the updates after this mess, should be good now

This commit is contained in:
Lillian Violet 2024-05-06 15:55:51 +02:00
parent 28c916d0ef
commit a4f8f48f4b
18 changed files with 532 additions and 32 deletions

View file

@ -7,12 +7,21 @@
}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"];
boot.initrd.kernelModules = ["nvme"];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.useDHCP = lib.mkDefault true;
fileSystems."/" = {
device = "/dev/sda3";
device = "/dev/disk/by-uuid/dc10d09c-9394-4854-acd5-93ceccd2f448";
fsType = "ext4";
};
swapDevices = [{device = "/dev/sda2";}];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
fileSystems."/nix/store" = {
device = "/nix/store";
fsType = "none";
options = ["bind"];
};
swapDevices = [];
}