mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add alacritty.nix for home-manager configuration
This commit is contained in:
parent
19fdf80b77
commit
84cbb4eb7d
49
users/ellmau/alacritty.nix
Normal file
49
users/ellmau/alacritty.nix
Normal file
@ -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
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./alacritty.nix
|
||||||
./autorandr.nix
|
./autorandr.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
@ -44,53 +45,6 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
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 = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user