48 lines
1.5 KiB
Nix
48 lines
1.5 KiB
Nix
# 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 =
|
||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
|
||
fsType = "btrfs";
|
||
};
|
||
|
||
boot.initrd.luks.devices."luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8".device = "/dev/disk/by-uuid/de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=home" ];
|
||
};
|
||
|
||
fileSystems."/nix" =
|
||
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=nix" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/2542-95A7";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0077" "dmask=0077" ];
|
||
};
|
||
|
||
swapDevices =
|
||
[ { device = "/dev/mapper/luks-9229fc83-6d6a-4948-a735-42579ddafccf"; }
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|