2021-11-16 20:57:04 +01: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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-11-28 11:11:39 +01:00
|
|
|
|
imports = [
|
2021-11-29 20:59:10 +01:00
|
|
|
|
../nixos-hardware/dell/precision/5530/default.nix
|
2021-11-28 11:11:39 +01:00
|
|
|
|
];
|
|
|
|
|
|
2021-11-29 20:59:10 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
2021-11-29 18:38:28 +01:00
|
|
|
|
"aesni_intel"
|
|
|
|
|
"ahci"
|
|
|
|
|
"cryptd"
|
2021-11-29 18:44:15 +01:00
|
|
|
|
"nvme"
|
|
|
|
|
"rtsx_pci_sdmmc"
|
2021-11-29 18:38:28 +01:00
|
|
|
|
"sd_mod"
|
2021-11-29 18:44:15 +01:00
|
|
|
|
"sr_mod"
|
|
|
|
|
"usbhid"
|
2021-11-29 18:38:28 +01:00
|
|
|
|
"usb_storage"
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
];
|
2021-11-22 15:12:19 +01:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2021-11-16 20:57:04 +01:00
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-11-29 21:25:37 +01:00
|
|
|
|
boot.kernelParams = [ ];
|
2021-11-22 20:54:18 +01:00
|
|
|
|
|
2021-11-29 18:38:28 +01:00
|
|
|
|
boot.initrd.luks.devices."cryptlvm".device = "/dev/nvme0n1p2";
|
2021-11-16 20:57:04 +01:00
|
|
|
|
fileSystems."/" =
|
2021-11-26 17:58:01 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
2021-11-16 20:57:04 +01:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2021-11-26 17:58:01 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/BOOT";
|
2021-11-16 20:57:04 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2021-11-26 17:58:01 +01:00
|
|
|
|
[{ device = "/dev/disk/by-label/swap"; }];
|
2021-11-16 20:57:04 +01:00
|
|
|
|
|
|
|
|
|
}
|
2021-11-22 15:12:19 +01:00
|
|
|
|
|