2022-05-20 23:04:15 +02:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
2023-02-22 10:02:55 +01:00
|
|
|
modulesPath,
|
2022-05-20 23:04:15 +02:00
|
|
|
...
|
2025-12-27 22:22:54 +01:00
|
|
|
}:
|
|
|
|
|
{
|
2023-02-22 10:02:55 +01:00
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
];
|
2022-05-20 23:04:15 +02:00
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
loader = {
|
2022-05-21 23:07:19 +02:00
|
|
|
systemd-boot = {
|
|
|
|
|
enable = true;
|
|
|
|
|
configurationLimit = 1;
|
|
|
|
|
};
|
2022-05-20 23:04:15 +02:00
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
};
|
|
|
|
|
initrd = {
|
2025-12-27 22:22:54 +01:00
|
|
|
availableKernelModules = [
|
|
|
|
|
"virtio_pci"
|
|
|
|
|
"usbhid"
|
|
|
|
|
];
|
2022-05-20 23:04:15 +02:00
|
|
|
};
|
|
|
|
|
kernelModules = [
|
|
|
|
|
"console=ttyS0"
|
|
|
|
|
"console=tty1"
|
|
|
|
|
"nvme.shutdown_timeout=10"
|
|
|
|
|
"libiscsi.debug_libiscsi_eh=1"
|
|
|
|
|
];
|
2025-12-27 22:22:54 +01:00
|
|
|
extraModulePackages = [ ];
|
2022-05-20 23:04:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/9bf751c7-cf32-49fb-9354-17694c7a46e0";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/7817-285D";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
2025-12-27 22:22:54 +01:00
|
|
|
swapDevices = [ ];
|
2022-05-20 23:04:15 +02:00
|
|
|
}
|