46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ config, lib, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot.initrd.availableKernelModules =
|
|
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
boot.initrd.luks.devices.crypted.device =
|
|
"/dev/disk/by-uuid/6ee3bc81-e827-4b53-9655-8acff61dc369";
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/84df99b4-ba9f-418b-9b79-c015ed17ed30";
|
|
fsType = "xfs";
|
|
};
|
|
|
|
fileSystems."/var" = {
|
|
device = "/dev/disk/by-uuid/7ea116a5-b910-450b-aeeb-d006b820be92";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/home" = {
|
|
device = "/dev/disk/by-uuid/0c4f356b-b738-4c63-915a-ef82dd59c01e";
|
|
fsType = "btrfs";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/58CB-B4D3";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
|
|
swapDevices = [{
|
|
device = "/swapfile";
|
|
size = 8 * 1024;
|
|
}];
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode =
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|