67 lines
2.0 KiB
Nix
67 lines
2.0 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" "usbhid" "usb_storage" "sd_mod" ];
|
|||
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|||
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
boot.extraModulePackages = [ ];
|
|||
|
|
|||
|
boot.initrd.luks.devices = {
|
|||
|
nixos = {
|
|||
|
device = "/dev/disk/by-uuid/1d5f812e-300f-4858-a136-3dc85ac0e0c4";
|
|||
|
preLVM = true;
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/" =
|
|||
|
{
|
|||
|
device = "/dev/disk/by-uuid/058b1bb0-c825-48e6-b951-9b93b6035ca9";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/home" =
|
|||
|
{
|
|||
|
device = "/dev/disk/by-uuid/cd7339d9-c5fb-47ff-bff0-38cd1f725241";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/var/lib/docker" =
|
|||
|
{
|
|||
|
device = "/dev/disk/by-uuid/b8c81698-4410-4b16-9293-f076772ce4f9";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/nix" =
|
|||
|
{
|
|||
|
device = "/dev/disk/by-uuid/ba748b3f-178c-4e3c-9314-66cd5d070e1c";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/boot" =
|
|||
|
{
|
|||
|
device = "/dev/disk/by-uuid/EE44-9788";
|
|||
|
fsType = "vfat";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices =
|
|||
|
[{ device = "/dev/disk/by-uuid/028125a3-2772-4aad-b901-d08783b85f83"; }];
|
|||
|
|
|||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|||
|
networking.useDHCP = lib.mkDefault true;
|
|||
|
# networking.interfaces.enp0s13f0u1u4u4.useDHCP = lib.mkDefault true;
|
|||
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
|||
|
|
|||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
}
|