host/thinkpad: split into modules

This commit is contained in:
Rouven Seifert 2023-11-24 09:57:15 +01:00
parent 70a6695ca1
commit aa2c1e702c
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
13 changed files with 153 additions and 160 deletions

View file

@ -0,0 +1,44 @@
{ config, pkgs, ... }:
{
# control display backlight
programs.light.enable = true;
fonts = {
enableDefaultPackages = false;
packages = with pkgs;
[
nerdfonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
dejavu_fonts
fira
];
};
console = {
colors = let colors = config.home-manager.users.rouven.colorScheme.colors; in
[
colors.base00
colors.base08
colors.base0A
colors.base0B
colors.base0D
colors.base0E
colors.base0C
colors.base05
colors.base03
colors.base08
colors.base0A
colors.base0B
colors.base0D
colors.base0E
colors.base0C
colors.base07
];
};
hardware.opengl.extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver
];
}