1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 19:41:08 +01:00
Files
niveum/systems/makanek/hardware-configuration.nix

41 lines
694 B
Nix
Raw Normal View History

2020-10-31 20:51:25 +01:00
{
2022-03-10 21:52:12 +01:00
config,
lib,
pkgs,
modulesPath,
2022-03-10 21:52:12 +01:00
...
2025-12-27 22:22:54 +01:00
}:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2020-10-31 20:51:25 +01:00
boot = {
initrd = {
2025-12-27 22:22:54 +01:00
availableKernelModules = [
"ata_piix"
"virtio_pci"
"xhci_pci"
"sd_mod"
"sr_mod"
];
kernelModules = [ ];
2020-10-31 20:51:25 +01:00
};
2025-12-27 22:22:54 +01:00
kernelModules = [ ];
extraModulePackages = [ ];
loader.grub = {
enable = true;
2025-12-27 22:22:54 +01:00
devices = [ "/dev/sda" ];
configurationLimit = 3;
};
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/9eaeaaa7-b453-4634-8a69-d416f702d3aa";
fsType = "ext4";
};
2020-10-31 20:51:25 +01:00
2025-12-27 22:22:54 +01:00
swapDevices = [ ];
2020-11-10 22:17:47 +01:00
zramSwap.enable = true;
2020-10-31 20:51:25 +01:00
2022-07-19 22:00:36 +02:00
nix.settings.max-jobs = lib.mkDefault 2;
2020-10-31 20:51:25 +01:00
}