default.nix (1714B)
1 { pkgs, lib, ... }: 2 3 with lib; 4 5 let 6 extraLib = import ../../../lib { inherit lib; }; 7 8 red1 = "#cc241d"; 9 red2 = "#fb4934"; 10 11 green1 = "#98971a"; 12 green2 = "#b8bb26"; 13 14 yellow1 = "#d79921"; 15 yellow2 = "#fabd24"; 16 17 blue1 = "#458588"; 18 blue2 = "#83a598"; 19 20 magenta1 = "#b16286"; 21 magenta2 = "#d3869b"; 22 23 cyan1 = "#689d6a"; 24 cyan2 = "#8ec07c"; 25 26 grey1 = "#a89984"; 27 grey2 = "#928374"; 28 29 orange1 = "#d65d0e"; 30 orange2 = "#fe8019"; 31 32 black = "#06080A"; 33 34 bg0 = "#11121d"; 35 bg1 = "#1a1b2a"; 36 bg2 = "#212234"; 37 bg3 = "#392b41"; 38 bg4 = "#4a5057"; 39 bg5 = "#282c34"; 40 41 fg = "#a0a8cd"; 42 in 43 { 44 home.stateVersion = "20.09"; 45 46 imports = [ ../../modules ]; 47 48 alacritty.colours = { 49 bg = bg0; 50 fg = fg; 51 52 black = black; 53 black-bright = grey2; 54 55 red = red1; 56 red-bright = red2; 57 58 green = green1; 59 green-bright = green2; 60 61 yellow = yellow1; 62 yellow-bright = yellow2; 63 64 blue = blue1; 65 blue-bright = blue2; 66 67 magenta = magenta1; 68 magenta-bright = magenta2; 69 70 cyan = cyan1; 71 cyan-bright = cyan2; 72 73 white = grey1; 74 white-bright = fg; 75 }; 76 77 polybar.colours = { 78 background = bg0; 79 background-alt = bg2; 80 foreground = fg; 81 foreground-alt = bg4; # bg4? 82 alert = red2; 83 wm-underline = yellow1; 84 date-underline = yellow1; 85 battery-underline = yellow1; 86 }; 87 88 neovim = { 89 colourSchemePackage = pkgs.vimUtils.buildVimPlugin { 90 name = "tokyodark.nvim"; 91 src = pkgs.fetchFromGitHub { 92 owner = "tiagovla"; 93 repo = "tokyodark.nvim"; 94 rev = "4714677bb341fc4aa421a3e3b614422700ac84b6"; 95 sha256 = "wOjgXsdHFCqgdOfPDJ+8QHk8wsl8up5AyarGf5tvQ2c="; 96 }; 97 }; 98 colourScheme = "tokyodark"; 99 }; 100 }