Add laptop config

This commit is contained in:
Kiana Sheibani 2022-01-06 22:16:45 -05:00
parent 5325723d7e
commit b8e127818a
23 changed files with 32 additions and 9 deletions

View file

@ -1,48 +0,0 @@
{ config, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
background_opacity = 0.9;
# Based on the GNOME Dark theme
colors.primary = {
foreground = "#d0cfcc";
background = "#000000";
bright_foreground = "#ffffff";
};
colors.normal = {
black = "#171421";
red = "#c01c28";
green = "#26a269";
yellow = "#a2734c";
blue = "#12488b";
magenta = "#a347ba";
cyan = "#2aa1b3";
white = "#d0cfcc";
};
colors.bright = {
black = "#5e5c64";
red = "#f66151";
green = "#33d17a";
yellow = "#e9ad0c";
blue = "#2a7bde";
magenta = "#c061cb";
cyan = "#33c7de";
white = "#ffffff";
};
font =
let family = "FiraCode Nerd Font Mono";
font-style = style: { inherit family style; };
in {
normal = font-style "Regular";
bold = font-style "Bold";
italic = font-style "Italic";
bold_italic = font-style "Bold Italic";
size = 11;
};
};
};
}

View file

@ -1,9 +0,0 @@
{ ... }:
{
imports = [
./alacritty.nix
./starship.nix
];
programs.fish.enable = true;
}

View file

@ -1,23 +0,0 @@
{ ... }:
{
programs.starship.enable = true;
programs.starship.settings = {
add_newline = true;
character =
let char = ""; charVi = "";
in {
success_symbol = "[${char}](bold green)";
error_symbol = "[${char}](bold red)";
vicmd_symbol = "[${charVi}](bold green)";
};
directory = {
truncation_length = 6;
truncation_symbol = " /";
read_only = " 🔒";
read_only_style = "cyan";
};
};
}