1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/systems/ful/hardware-configuration.nix

48 lines
800 B
Nix
Raw Permalink Normal View History

2022-05-20 23:04:15 +02:00
{
config,
lib,
pkgs,
modulesPath,
2022-05-20 23:04:15 +02:00
...
2025-12-27 22:22:54 +01:00
}:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
2022-05-20 23:04:15 +02:00
boot = {
loader = {
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
}