Solarized dark colors on text consoles.
This commit is contained in:
44
common/global/console.nix
Normal file
44
common/global/console.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
# Configure Linux console (VT/framebuffer) colors to use Solarized Dark theme
|
||||
# This affects the text-mode console accessed via Ctrl+Alt+F1-F6 or when booting without graphics
|
||||
#
|
||||
# Solarized Dark color scheme by Ethan Schoonover
|
||||
# https://ethanschoonover.com/solarized/
|
||||
#
|
||||
# Color mapping:
|
||||
# 0 = black -> base02 (#073642)
|
||||
# 1 = red -> red (#dc322f)
|
||||
# 2 = green -> green (#859900)
|
||||
# 3 = yellow -> yellow (#b58900)
|
||||
# 4 = blue -> blue (#268bd2)
|
||||
# 5 = magenta -> magenta (#d33682)
|
||||
# 6 = cyan -> cyan (#2aa198)
|
||||
# 7 = white -> base2 (#eee8d5)
|
||||
# 8 = br_black -> base03 (#002b36) - background
|
||||
# 9 = br_red -> orange (#cb4b16)
|
||||
# 10 = br_green -> base01 (#586e75)
|
||||
# 11 = br_yellow -> base00 (#657b83)
|
||||
# 12 = br_blue -> base0 (#839496)
|
||||
# 13 = br_magenta -> violet (#6c71c4)
|
||||
# 14 = br_cyan -> base1 (#93a1a1)
|
||||
# 15 = br_white -> base3 (#fdf6e3)
|
||||
|
||||
console.colors = [
|
||||
"073642" # 0: black (base02)
|
||||
"dc322f" # 1: red
|
||||
"859900" # 2: green
|
||||
"b58900" # 3: yellow
|
||||
"268bd2" # 4: blue
|
||||
"d33682" # 5: magenta
|
||||
"2aa198" # 6: cyan
|
||||
"eee8d5" # 7: white (base2)
|
||||
"002b36" # 8: bright black (base03 - Solarized Dark background)
|
||||
"cb4b16" # 9: bright red (orange)
|
||||
"586e75" # 10: bright green (base01)
|
||||
"657b83" # 11: bright yellow (base00)
|
||||
"839496" # 12: bright blue (base0)
|
||||
"6c71c4" # 13: bright magenta (violet)
|
||||
"93a1a1" # 14: bright cyan (base1)
|
||||
"fdf6e3" # 15: bright white (base3)
|
||||
];
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
./backup.nix
|
||||
./console.nix
|
||||
./cpufreq.nix
|
||||
./flakes.nix
|
||||
./kernel.nix
|
||||
|
||||
Reference in New Issue
Block a user