nix-home/nki-x1c1/hardware-configuration.nix

42 lines
1.1 KiB
Nix
Raw Normal View History

2022-04-19 20:46:33 +00:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
2022-04-25 15:54:36 +00:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2022-04-19 20:46:33 +00:00
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2022-04-25 15:54:36 +00:00
{
device = "/dev/disk/by-uuid/bc8b0807-c3d6-4893-bcc2-02f059a51a80";
2022-04-19 20:46:33 +00:00
fsType = "ext4";
};
fileSystems."/boot" =
2022-04-25 15:54:36 +00:00
{
device = "/dev/disk/by-uuid/885D-D058";
2022-04-19 20:46:33 +00:00
fsType = "vfat";
};
fileSystems."/home" =
2022-04-25 15:54:36 +00:00
{
device = "/dev/disk/by-uuid/a981870f-db1d-4441-81da-f1bab1ecc37c";
2022-04-19 20:46:33 +00:00
fsType = "btrfs";
};
swapDevices =
2022-04-25 15:54:36 +00:00
[{ device = "/dev/disk/by-uuid/2694d189-2ff6-4719-a449-367c52ed3ad6"; }];
2022-04-19 20:46:33 +00:00
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-04-25 15:54:36 +00:00
hardware.opengl.enable = true;
2022-04-19 20:46:33 +00:00
}