nixos-config/nixos/hosts/suwako-vie0/hardware-configuration.nix

22 lines
395 B
Nix
Raw Normal View History

2024-12-24 21:17:36 +08:00
{ modulesPath, profiles, ... }:
2024-12-13 01:56:43 +08:00
{
2024-12-24 21:17:36 +08:00
imports = with profiles; [
2024-12-13 01:56:43 +08:00
(modulesPath + "/profiles/qemu-guest.nix")
2024-12-24 21:17:36 +08:00
system.disko.btrfs-bios-compat
2024-12-13 01:56:43 +08:00
];
2024-12-24 21:17:36 +08:00
disko.devices = {
nodev."/".mountOptions = [ "size=4G" ];
disk.main.device = "/dev/sda";
};
2024-12-13 01:56:43 +08:00
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"virtio_scsi"
"sd_mod"
"sr_mod"
];
}