nixos-config/hosts/thinkpad/modules/graphics/default.nix
2024-08-13 11:38:01 +02:00

45 lines
872 B
Nix

{ config, pkgs, ... }:
{
# control display backlight
programs.light.enable = true;
fonts = {
enableDefaultPackages = true;
packages = with pkgs;
[
nerdfonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
roboto
fira
];
};
console = {
colors = let colors = config.home-manager.users.rouven.colorScheme.palette; 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.graphics.extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver
];
}