Initial usable dragyx/flocke config
This commit is contained in:
parent
23b0576fd2
commit
8b393be154
13 changed files with 568 additions and 64 deletions
91
hosts/dragyx/common/cli/alacritty.nix
Normal file
91
hosts/dragyx/common/cli/alacritty.nix
Normal file
|
@ -0,0 +1,91 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
username = config.modules.other.system.username;
|
||||
in
|
||||
{
|
||||
home-manager.users.${username} = {
|
||||
programs = {
|
||||
alacritty = {
|
||||
enable = true;
|
||||
};
|
||||
alacritty.settings = {
|
||||
shell = {
|
||||
program = "zsh";
|
||||
};
|
||||
font.normal.family = "JetBrainsMono Nerd Font";
|
||||
font.bold.family = "JetBrainsMono Nerd Font";
|
||||
font.italic.family = "JetBrainsMono Nerd Font";
|
||||
font.bold_italic.family = "JetBrainsMono Nerd Font";
|
||||
window.opacity = 0.8;
|
||||
# TODO: maybe use a different way to manage the theme
|
||||
colors = {
|
||||
primary = {
|
||||
background = "#282a36";
|
||||
foreground = "#f8f8f2";
|
||||
bright_foreground = "#ffffff";
|
||||
};
|
||||
cursor = {
|
||||
text = "CellBackground";
|
||||
cursor = "CellForeground";
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
text = "CellBackground";
|
||||
cursor = "CellForeground";
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "#44475a";
|
||||
background = "#50fa7b";
|
||||
};
|
||||
focused_match = {
|
||||
foreground = "#44475a";
|
||||
background = "#ffb86c";
|
||||
};
|
||||
};
|
||||
footer_bar = {
|
||||
background = "#282a36";
|
||||
foreground = "#f8f8f2";
|
||||
};
|
||||
hints = {
|
||||
start = {
|
||||
foreground = "#282a36";
|
||||
background = "#f1fa8c";
|
||||
};
|
||||
end = {
|
||||
foreground = "#f1fa8c";
|
||||
background = "#282a36";
|
||||
};
|
||||
};
|
||||
line_indicator = {
|
||||
foreground = "None";
|
||||
background = "None";
|
||||
};
|
||||
selection = {
|
||||
text = "CellForeground";
|
||||
background = "#44475a";
|
||||
};
|
||||
normal = {
|
||||
black = "#21222c";
|
||||
red = "#ff5555";
|
||||
green = "#50fa7b";
|
||||
yellow = "#f1fa8c";
|
||||
blue = "#bd93f9";
|
||||
magenta = "#ff79c6";
|
||||
cyan = "#8be9fd";
|
||||
white = "#f8f8f2";
|
||||
};
|
||||
bright = {
|
||||
black = "#6272a4";
|
||||
red = "#ff6e6e";
|
||||
green = "#69ff94";
|
||||
yellow = "#ffffa5";
|
||||
blue = "#d6acff";
|
||||
magenta = "#ff92df";
|
||||
cyan = "#a4ffff";
|
||||
white = "#ffffff";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
6
hosts/dragyx/common/cli/default.nix
Normal file
6
hosts/dragyx/common/cli/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
];
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue