11.stylix/modules/console/nixos.nix
Geometer1729 ebaed9d4bf
console: adjust colors (#404)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-05-31 20:41:07 +01:00

27 lines
429 B
Nix

{ config, lib, ... }:
with config.lib.stylix.colors;
{
options.stylix.targets.console.enable =
config.lib.stylix.mkEnableTarget "the Linux kernel console" true;
config.console.colors = lib.mkIf config.stylix.targets.console.enable [
base00-hex
red
green
yellow
blue
magenta
cyan
base05-hex
base03-hex
red
green
yellow
blue
magenta
cyan
base06-hex
];
}