From 84cbb4eb7d1a20b80bc50b836cbf5ebda2f853b3 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 22 Aug 2022 10:54:18 +0200 Subject: [PATCH] Add alacritty.nix for home-manager configuration --- users/ellmau/alacritty.nix | 49 ++++++++++++++++++++++++++++++++++++++ users/ellmau/default.nix | 48 +------------------------------------ 2 files changed, 50 insertions(+), 47 deletions(-) create mode 100644 users/ellmau/alacritty.nix diff --git a/users/ellmau/alacritty.nix b/users/ellmau/alacritty.nix new file mode 100644 index 0000000..6d185b6 --- /dev/null +++ b/users/ellmau/alacritty.nix @@ -0,0 +1,49 @@ +{ config, lib, pkgs, ... }: +{ + programs.alacritty = { + enable = true; + settings = { + window = { + decorations = "none"; + }; + alt_send_esc = true; + font = { + normal.family = "Hasklug Nerd Font"; + size = 14; + }; + # colors = { + # primary = { + # background = "#282828"; # base3 + # foreground = "#dfbf8e"; # base00 + # }; + + # cursor = { + # text = "CellBackground"; + # cursor = "CellForeground"; + # }; + + # normal = { + # black = "#665c54"; # base02 + # red = "#ea6962"; # red + # green = "#a9b665"; # green + # yellow = "#e78a4e"; # yellow + # blue = "#7daea3"; # blue + # magenta = "#d3869b"; # magenta + # cyan = "#89b482"; # cyan + # white = "#dfbf8e"; # base2 + # }; + + # bright = { + # black = "#928374"; # base03 + # red = "#ea6962"; # orange + # green = "#a6b665"; # base01 + # yellow = "#e3a84e"; # base00 + # blue = "#7daea3"; # base0 + # magenta = "#d3869b"; # violet + # cyan = "#89b482"; # base1 + # white = "#dfbf8e"; # base3 + # }; + # }; + }; + }; +} diff --git a/users/ellmau/default.nix b/users/ellmau/default.nix index 64a63c1..15af483 100644 --- a/users/ellmau/default.nix +++ b/users/ellmau/default.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: { imports = [ + ./alacritty.nix ./autorandr.nix ./dunst.nix ./git.nix @@ -44,53 +45,6 @@ ]; programs = { - alacritty = { - enable = true; - settings = { - window = { - decorations = "none"; - }; - alt_send_esc = true; - font = { - normal.family = "Hasklug Nerd Font"; - size = 14; - }; - # colors = { - # primary = { - # background = "#282828"; # base3 - # foreground = "#dfbf8e"; # base00 - # }; - - # cursor = { - # text = "CellBackground"; - # cursor = "CellForeground"; - # }; - - # normal = { - # black = "#665c54"; # base02 - # red = "#ea6962"; # red - # green = "#a9b665"; # green - # yellow = "#e78a4e"; # yellow - # blue = "#7daea3"; # blue - # magenta = "#d3869b"; # magenta - # cyan = "#89b482"; # cyan - # white = "#dfbf8e"; # base2 - # }; - - # bright = { - # black = "#928374"; # base03 - # red = "#ea6962"; # orange - # green = "#a6b665"; # base01 - # yellow = "#e3a84e"; # base00 - # blue = "#7daea3"; # base0 - # magenta = "#d3869b"; # violet - # cyan = "#89b482"; # base1 - # white = "#dfbf8e"; # base3 - # }; - # }; - }; - }; - direnv = { enable = true; nix-direnv.enable = true;