2020-06-20 17:54:21 +08:00
|
|
|
{ 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."/" =
|
2022-08-10 15:04:00 +08:00
|
|
|
{ device = "/dev/disk/by-uuid/42e45358-5835-4034-9475-88211dcf6ba9";
|
2020-06-20 17:54:21 +08:00
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices =
|
2022-08-10 15:04:00 +08:00
|
|
|
[ { device = "/dev/disk/by-uuid/fef49c8a-a1ca-4816-a1fc-6d2135811b1b"; }
|
2020-06-20 17:54:21 +08:00
|
|
|
];
|
|
|
|
|
|
|
|
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"];
|
2021-10-31 16:09:08 +08:00
|
|
|
|
2022-08-10 15:04:00 +08:00
|
|
|
system.stateVersion = "22.05";
|
2020-06-20 17:54:21 +08:00
|
|
|
}
|