enable commands and flakes, clean up tlp

This commit is contained in:
atagen 2022-08-24 10:31:53 +10:00
parent 87f47454f8
commit d8d817f431
2 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
@ -23,6 +24,8 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "adrift"; # Define your hostname.
services.xserver.videoDrivers = [ "i915" ];
services.power-profiles-daemon.enable = false;
services.tlp.enable = true;
users.users.plank = {