From 55baf12f89cf7c68c5dea0ecc35cf3ca9ea44932 Mon Sep 17 00:00:00 2001 From: nixos Date: Sat, 9 Sep 2023 11:20:47 +0200 Subject: [PATCH] install gruvbox theme for alacritty --- README.md | 9 ++++++++- home.nix | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a80416a..7ad6269 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # TODO -- auto-install firefox extensions - flakes? - keepassxc - nextcloud client @@ -9,3 +8,11 @@ - nixos-rebuild without root - alacritty settings - theme + +## Firefox extensions not available in NUR + +- bypass paywalls clean +- http version indicator +- indicate tls +- sci-hub x now +- sixindicator diff --git a/home.nix b/home.nix index 3c7d4da..dd12769 100644 --- a/home.nix +++ b/home.nix @@ -11,7 +11,38 @@ programs = { home-manager.enable = true; - alacritty.enable = true; + alacritty = { + enable = true; + settings = { + # Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml) + colors = { + primary = { + background = "0x282828"; + foreground = "0xebdbb2"; + }; + normal = { + black = "0x282828"; + red = "0xcc241d"; + green = "0x98971a"; + yellow = "0xd79921"; + blue = "0x458588"; + magenta = "0xb16286"; + cyan = "0x689d6a"; + white = "0xa89984"; + }; + bright = { + black = "0x928374"; + red = "0xfb4934"; + green = "0xb8bb26"; + yellow = "0xfabd2f"; + blue = "0x83a598"; + magenta = "0xd3869b"; + cyan = "0x8ec07c"; + white = "0xebdbb2"; + }; + }; + }; + }; firefox = { enable = true;