config-perso/machines/kat-degette/hardware-configuration.nix

47 lines
775 B
Nix
Raw Normal View History

2024-05-14 19:21:19 +02:00
{
lib,
modulesPath,
...
}:
2024-03-22 14:24:31 +01:00
{
2024-05-14 19:21:19 +02:00
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2024-03-22 14:24:31 +01:00
2024-11-14 15:30:17 +01:00
boot = {
initrd = {
availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
2024-05-14 19:21:19 +02:00
};
2024-03-22 14:24:31 +01:00
2024-11-14 15:30:17 +01:00
fileSystems = {
"/" = {
device = "UUID=301a23cf-1aa3-4c53-a174-1a97592da5fa";
fsType = "bcachefs";
options = [
"fsck"
"fix_errors"
];
};
"/boot" = {
device = "/dev/disk/by-uuid/F594-E8DB";
fsType = "vfat";
};
2024-05-14 19:21:19 +02:00
};
2024-03-22 14:24:31 +01:00
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}