Compare commits

..

No commits in common. "621e97d8f1d493203355412b400d4f68b0061933" and "87f30f8ace2a8e486b5896cfc68242d2f1e9834a" have entirely different histories.

2 changed files with 1 additions and 30 deletions

View File

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, config, ... }:
{ inputs, lib, pkgs, ... }:
let
# Disko setup
fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence
@ -32,18 +32,13 @@ in
../common/optional/dwm.nix
../common/optional/nfs-mounts/music.nix
../common/optional/printing.nix
../common/optional/backlight.nix
];
boot = {
blacklistedKernelModules = [ "snd_hda_intel" "snd_soc_skl" ];
kernelModules = [ "iwlwifi" ];
initrd.kernelModules = [ "thinkpad-acpi" "acpi-call" ];
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;
extraModulePackages = [
config.boot.kernelPackages.acpi_call
];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
@ -68,24 +63,7 @@ in
XCURSOR_SIZE = "64";
};
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT0 = 80;
STOP_CHARGE_THRESH_BAT0 = 85;
USB_BLACKLIST_PHONE = 1;
};
};
hardware = {
bluetooth = {
enable = true;
powerOnBoot = true;
};
enableRedistributableFirmware = true;
firmware = [
pkgs.sof-firmware

View File

@ -1,7 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.brightnessctl
];
services.illum.enable = true;
}