enable commands and flakes, clean up tlp
This commit is contained in:
parent
87f47454f8
commit
d8d817f431
2 changed files with 8 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
# ./wollomi.nix
|
||||
# ./adrift.nix
|
||||
];
|
||||
|
||||
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue