diff options
author | Soispha <soispha@vhack.eu> | 2023-08-27 11:56:28 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-27 12:08:00 +0200 |
commit | f7b7d439916f67d5e89d30300909412faf1e6432 (patch) | |
tree | 8ca36a89f1d2c286237d8b51b94bc03dc98a41cc | |
parent | Fix(flake/packages): Flatten nvim pkgs to satisfy `nix flake check` (diff) | |
download | nixos-config-f7b7d439916f67d5e89d30300909412faf1e6432.zip |
Feat(hm/conf/alacritty): Set nightfox/carbonfox as colorscheme
-rw-r--r-- | hm/soispha/conf/alacritty/default.nix | 9 | ||||
-rw-r--r-- | hm/soispha/conf/alacritty/yaml/base.yml (renamed from hm/soispha/conf/alacritty/alacritty.yml) | 0 | ||||
-rw-r--r-- | hm/soispha/conf/alacritty/yaml/colorscheme.yml | 31 |
3 files changed, 38 insertions, 2 deletions
diff --git a/hm/soispha/conf/alacritty/default.nix b/hm/soispha/conf/alacritty/default.nix index 4e98f502..7c23c919 100644 --- a/hm/soispha/conf/alacritty/default.nix +++ b/hm/soispha/conf/alacritty/default.nix @@ -1,6 +1,11 @@ -{config, ...}: { +{lib, ...}: let + config_file = '' + ${lib.strings.fileContents ./yaml/base.yml} + ${lib.strings.fileContents ./yaml/colorscheme.yml} + ''; +in { programs.alacritty = { enable = true; }; - xdg.configFile."alacritty/alacritty.yml".source = ./alacritty.yml; + xdg.configFile."alacritty/alacritty.yml".text = config_file; } diff --git a/hm/soispha/conf/alacritty/alacritty.yml b/hm/soispha/conf/alacritty/yaml/base.yml index fdccac3f..fdccac3f 100644 --- a/hm/soispha/conf/alacritty/alacritty.yml +++ b/hm/soispha/conf/alacritty/yaml/base.yml diff --git a/hm/soispha/conf/alacritty/yaml/colorscheme.yml b/hm/soispha/conf/alacritty/yaml/colorscheme.yml new file mode 100644 index 00000000..4e0abfae --- /dev/null +++ b/hm/soispha/conf/alacritty/yaml/colorscheme.yml @@ -0,0 +1,31 @@ +# Nightfox Alacritty Colors +# Style: carbonfox +# Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/nightfox_alacritty.yml +colors: + # Default colors + primary: + background: '0x161616' + foreground: '0xf2f4f8' + # Normal colors + normal: + black: '0x282828' + red: '0xee5396' + green: '0x25be6a' + yellow: '0x08bdba' + blue: '0x78a9ff' + magenta: '0xbe95ff' + cyan: '0x33b1ff' + white: '0xdfdfe0' + # Bright colors + bright: + black: '0x484848' + red: '0xf16da6' + green: '0x46c880' + yellow: '0x2dc7c4' + blue: '0x8cb6ff' + magenta: '0xc8a5ff' + cyan: '0x52bdff' + white: '0xe4e4e5' + indexed_colors: + - { index: 16, color: '0x3ddbd9' } + - { index: 17, color: '0xff7eb6' } |