parent
6a831c0b09
commit
f6d6012756
@ -0,0 +1,46 @@ |
||||
# 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" "nvme" "usb_storage" "sd_mod" ]; |
||||
boot.initrd.kernelModules = [ ]; |
||||
boot.kernelModules = [ "kvm-intel" ]; |
||||
boot.extraModulePackages = [ ]; |
||||
boot.kernelParams = [ "i915.force_probe=46a6" ]; |
||||
|
||||
networking.hostName = "wmft16"; # Define your hostname. |
||||
|
||||
fileSystems."/" = |
||||
{ device = "/dev/disk/by-uuid/39d12da3-efeb-459d-9051-ca929d034172"; |
||||
fsType = "ext4"; |
||||
}; |
||||
|
||||
boot.initrd.luks.devices."luks-b9242b56-1f1a-40a8-aeec-eed6da43e99f".device = "/dev/disk/by-uuid/b9242b56-1f1a-40a8-aeec-eed6da43e99f"; |
||||
|
||||
fileSystems."/boot/efi" = |
||||
{ device = "/dev/disk/by-uuid/64C6-7660"; |
||||
fsType = "vfat"; |
||||
}; |
||||
|
||||
|
||||
swapDevices = [ ]; |
||||
|
||||
|
||||
# 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.enp0s31f6.useDHCP = lib.mkDefault true; |
||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; |
||||
|
||||
hardware.bluetooth.enable = true; |
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; |
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
||||
} |
Loading…
Reference in new issue