mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
20 lines
520 B
Nix
20 lines
520 B
Nix
{ lib, modulesPath, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
(import ./disks.nix { })
|
|
../_mixins/hardware/systemd-boot.nix
|
|
../_mixins/services/pipewire.nix
|
|
];
|
|
|
|
swapDevices = [{
|
|
device = "/swap";
|
|
size = 1024;
|
|
}];
|
|
|
|
boot = {
|
|
initrd.availableKernelModules = [ "xhci_pci" "ohci_pci" "ehci_pci" "virtio_pci" "ahci" "usbhid" "sr_mod" "virtio_blk" ];
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|