workstation - add brightnessctl and reordered

This commit is contained in:
Don Harper 2024-07-18 22:00:34 -05:00
parent bb7c304779
commit 37b71f2290

View file

@ -64,6 +64,8 @@ in {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = ["consoleblank=60"]; kernelParams = ["consoleblank=60"];
# extraModulePackages = [config.boot.kernelPackages.ddcci-driver];
# kernelModules = ["i2c-dev" "ddcci_backlight"];
loader = loader =
if (pkgs.hostPlatform != lib.mkDefault "aarch64-linux") if (pkgs.hostPlatform != lib.mkDefault "aarch64-linux")
then { then {
@ -167,8 +169,6 @@ in {
}; };
}; };
# Enable sound with pipewire.
sound.enable = true;
hardware = { hardware = {
bluetooth = { bluetooth = {
enable = true; enable = true;
@ -221,7 +221,7 @@ in {
aspellDicts.en aspellDicts.en
base16-schemes base16-schemes
bash-completion bash-completion
nix-bash-completions brightnessctl
btop btop
espeak-classic espeak-classic
fwup fwup
@ -238,6 +238,7 @@ in {
libsForQt5.qtkeychain libsForQt5.qtkeychain
lsb-release lsb-release
lsof lsof
nix-bash-completions
pkg-config pkg-config
playerctl playerctl
poppler_utils poppler_utils