54 lines
1.5 KiB
Nix
54 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" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ "kvm-intel" "wl" ];
|
||
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||
|
||
boot.initrd.luks.devices = {
|
||
crypted = {
|
||
device = "/dev/disk/by-uuid/78f0c3c6-08b0-4a2b-9b97-dd57fb14f61d";
|
||
preLVM = true;
|
||
};
|
||
};
|
||
|
||
fileSystems."/" =
|
||
{
|
||
device = "/dev/disk/by-uuid/286570e7-eba1-4afc-8c6e-9e474782aa01";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{
|
||
device = "/dev/disk/by-uuid/689222b0-bd7b-48d9-a7d9-14fa857a2bf8";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{
|
||
device = "/dev/disk/by-uuid/0F90-4035";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/3c6f1190-f324-4343-9b79-23b89940b7d3"; }];
|
||
|
||
networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
||
networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
||
networking.interfaces.wlp0s20u5.useDHCP = lib.mkDefault true;
|
||
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
||
hardware.sensor.iio.enable = true;
|
||
|
||
services.tlp.enable = true;
|
||
}
|