biotite,thorite: added

This commit is contained in:
xinyangli 2024-11-27 17:46:49 +08:00
parent 3dc3775a6c
commit 2327a171b8
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
5 changed files with 144 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ config, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
boot = config.diskPartitions.grubMbr;
root = config.diskPartitions.btrfs;
};
};
};
};
};
disko.devices.disk.main.imageSize = "10G";
boot.initrd.availableKernelModules = [
"uhci_hcd"
"virtio_scsi"
"sd_mod"
"sr_mod"
"ahci"
"ata_piix"
"virtio_pci"
"xen_blkfront"
"vmw_pvscsi"
];
boot.loader.grub = {
enable = true;
};
boot.kernelModules = [ "kvm-intel" ];
}