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

33 lines
607 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,
...
}: {
imports = [<nixpkgs/nixos/modules/profiles/qemu-guest.nix>];
2020-10-31 20:51:25 +01:00
boot = {
initrd = {
2022-03-10 21:52:12 +01:00
availableKernelModules = ["ata_piix" "virtio_pci" "xhci_pci" "sd_mod" "sr_mod"];
kernelModules = [];
2020-10-31 20:51:25 +01:00
};
2022-03-10 21:52:12 +01:00
kernelModules = [];
extraModulePackages = [];
loader.grub = {
enable = true;
version = 2;
2022-03-10 21:52:12 +01:00
devices = ["/dev/sda"];
};
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/9eaeaaa7-b453-4634-8a69-d416f702d3aa";
fsType = "ext4";
};
2020-10-31 20:51:25 +01:00
2022-03-10 21:52:12 +01:00
swapDevices = [];
2020-11-10 22:17:47 +01:00
zramSwap.enable = true;
2020-10-31 20:51:25 +01:00
nix.maxJobs = lib.mkDefault 2;
}