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 let
# Disko setup # Disko setup
fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence
@ -32,18 +32,13 @@ in
../common/optional/dwm.nix ../common/optional/dwm.nix
../common/optional/nfs-mounts/music.nix ../common/optional/nfs-mounts/music.nix
../common/optional/printing.nix ../common/optional/printing.nix
../common/optional/backlight.nix
]; ];
boot = { boot = {
blacklistedKernelModules = [ "snd_hda_intel" "snd_soc_skl" ]; blacklistedKernelModules = [ "snd_hda_intel" "snd_soc_skl" ];
kernelModules = [ "iwlwifi" ]; kernelModules = [ "iwlwifi" ];
initrd.kernelModules = [ "thinkpad-acpi" "acpi-call" ];
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest; kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;
extraModulePackages = [
config.boot.kernelPackages.acpi_call
];
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
@ -68,24 +63,7 @@ in
XCURSOR_SIZE = "64"; 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 = { hardware = {
bluetooth = {
enable = true;
powerOnBoot = true;
};
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
firmware = [ firmware = [
pkgs.sof-firmware pkgs.sof-firmware

View File

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