nixos-config/hosts/thinkpad/modules/graphics/default.nix

45 lines
877 B
Nix
Raw Normal View History

2023-11-24 09:57:15 +01:00
{ config, pkgs, ... }:
{
# control display backlight
programs.light.enable = true;
fonts = {
2024-02-11 20:01:15 +01:00
enableDefaultPackages = true;
2023-11-24 09:57:15 +01:00
packages = with pkgs;
[
nerdfonts
noto-fonts
2024-10-30 11:00:28 +01:00
noto-fonts-cjk-sans
2023-11-24 09:57:15 +01:00
noto-fonts-emoji
2024-02-11 20:01:15 +01:00
roboto
2023-11-24 09:57:15 +01:00
fira
];
};
console = {
colors = let colors = config.home-manager.users.rouven.colorScheme.palette; in
2023-11-24 09:57:15 +01:00
[
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
];
};
2024-08-13 11:38:01 +02:00
hardware.graphics.extraPackages = with pkgs; [
2023-11-24 09:57:15 +01:00
intel-compute-runtime
intel-media-driver
];
}