35 lines
1,004 B
Nix
35 lines
1,004 B
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/mapper/luks-21284f67-5a63-41be-9354-07a0240cac50";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
boot.initrd.luks.devices."luks-21284f67-5a63-41be-9354-07a0240cac50".device = "/dev/disk/by-uuid/21284f67-5a63-41be-9354-07a0240cac50";
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/disk/by-uuid/FE19-D3F1";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
|
|
swapDevices =
|
|
[ { device = "/dev/mapper/luks-d51bdb99-5966-40d3-a920-83ea78a73699"; }
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|