forked from M-Labs/it-infra
32 lines
807 B
Nix
32 lines
807 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "usbhid" "floppy" "sd_mod" "sr_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/42e45358-5835-4034-9475-88211dcf6ba9";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
swapDevices =
|
|
[ { device = "/dev/disk/by-uuid/fef49c8a-a1ca-4816-a1fc-6d2135811b1b"; }
|
|
];
|
|
|
|
nix.maxJobs = lib.mkDefault 2;
|
|
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.version = 2;
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
services.xserver.videoDrivers = ["intel"];
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|