From 78553ff6af3d159702b69f054d318d7993664b78 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 23 May 2021 15:57:29 +0200 Subject: gkleen@sif: alacritty --- accounts/gkleen@sif/alacritty.nix | 39 +++++++++++++++++++++++++++++++++++++ accounts/gkleen@sif/default.nix | 5 +++++ system-profiles/openssh/default.nix | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 accounts/gkleen@sif/alacritty.nix diff --git a/accounts/gkleen@sif/alacritty.nix b/accounts/gkleen@sif/alacritty.nix new file mode 100644 index 00000000..a2c19182 --- /dev/null +++ b/accounts/gkleen@sif/alacritty.nix @@ -0,0 +1,39 @@ +{ + font.size = 5.5; + + colors = { + primary.foreground = "#d9d9d9"; + primary.background = "#000000"; + cursor.text = "#000000"; + cursor.cursor = "#d9d9d9"; + + normal = { + black = "#000000"; + red = "#bf4949"; + green = "#9fb346"; + yellow = "#e69650"; + blue = "#759fbf"; + magenta = "#9b79a6"; + cyan = "#79a69b"; + white = "#d9d9d9"; + }; + + bright = { + black = "#757a80"; + red = "#e66e6e"; + green = "#cbd676"; + yellow = "#ffa74f"; + blue = "#98b8d9"; + magenta = "#ceadd9"; + cyan = "#a3d9ce"; + white = "#ffffff"; + }; + }; + + scrolling.history = 0; + + bell = { + duration = 75; + color = "#d9d9d9"; + }; +} diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 440efa4e..43ead4f5 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -106,6 +106,11 @@ in { }; }; + alacritty = { + enable = true; + settings = import ./alacritty.nix; + }; + zathura = { enable = true; package = pkgs.zathura.override { useMupdf = false; }; diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix index 33a3e136..09ff58f7 100644 --- a/system-profiles/openssh/default.nix +++ b/system-profiles/openssh/default.nix @@ -35,7 +35,7 @@ }; environment.systemPackages = lib.mkIf config.services.openssh.enable (with pkgs; [ - rxvt_unicode.terminfo + rxvt_unicode.terminfo alacritty.terminfo ]); }; } -- cgit v1.2.3