nixos-config/nixos/hosts/reisen-sea0/hardware-configuration.nix

27 lines
492 B
Nix
Raw Permalink Normal View History

2024-12-24 21:17:36 +08:00
{ modulesPath, profiles, ... }:
2024-12-15 18:29:58 +08:00
{
2024-12-24 21:17:36 +08:00
imports = with profiles; [
2024-12-15 18:29:58 +08:00
(modulesPath + "/profiles/qemu-guest.nix")
2024-12-24 21:17:36 +08:00
system.disko.btrfs-common
2024-12-15 18:29:58 +08:00
];
2024-12-24 21:17:36 +08:00
disko.devices = {
nodev."/".mountOptions = [ "size=1G" ];
disk.main.device = "/dev/vda";
};
2024-12-15 18:29:58 +08:00
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
};
}