nixos/hardware/precision/hardware-configuration.nix
Andreas Zweili 121f86d888 import the default.nix explicit
I have to do some research if it really gets imported automatically.
2021-11-29 20:59:10 +01:00

48 lines
1015 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 = [
../nixos-hardware/dell/precision/5530/default.nix
];
boot.initrd.availableKernelModules = [
"aesni_intel"
"ahci"
"cryptd"
"nvme"
"rtsx_pci_sdmmc"
"sd_mod"
"sr_mod"
"usbhid"
"usb_storage"
"xhci_pci"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [
"mem_sleep_default=deep"
];
boot.initrd.luks.devices."cryptlvm".device = "/dev/nvme0n1p2";
fileSystems."/" =
{
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-label/swap"; }];
}