Switch to NixOS and various fixes

This commit is contained in:
Filippo Berto 2021-05-17 14:57:10 +02:00
parent c7df83869f
commit 0aae761f89
14 changed files with 222 additions and 130 deletions

View file

@ -1,4 +1,9 @@
{
{ pkgs, ... }:
let
nord = import ../configs/themes/nord.nix;
in {
# Include fonts packages
home.packages = with pkgs; [ nerdfonts ];
programs.alacritty = {
enable = true;
settings = {
@ -16,51 +21,51 @@
# NORD Theme: https://github.com/arcticicestudio/nord-alacritty
colors = {
primary = {
background = "#2e3440";
foreground = "#d8dee9";
dim_foreground = "#a5abb6";
background = nord.n0;
foreground = nord.n6;
dim_foreground = nord.n4;
};
cursor = {
text = "#2e3440";
cursor = "#d8dee9";
text = nord.n0;
cursor = nord.n4;
};
vi_mode_cursor = {
text = "#2e3440";
cursor = "#d8dee9";
text = nord.n0;
cursor = nord.n4;
};
selection = {
text = "CellForeground";
background = "#4c566a";
background = nord.n3;
};
search = {
matches = {
foreground = "CellForeground";
background = "#88c0d0";
background = nord.n8;
};
bar = {
background = "#434c5e";
foreground = "#d8dee9";
background = nord.n2;
foreground = nord.n4;
};
};
normal = {
black = "#3b4252";
red = "#bf616a";
green = "#a3be8c";
yellow = "#ebcb8b";
blue = "#81a1c1";
magenta = "#b48ead";
cyan = "#88c0d0";
white = "#e5e9f0";
black = nord.n1;
red = nord.n11;
green = nord.n14;
yellow = nord.n13;
blue = nord.n9;
magenta = nord.n15;
cyan = nord.n9;
white = nord.n5;
};
bright = {
black = "#4c566a";
red = "#bf616a";
green = "#a3be8c";
yellow = "#ebcb8b";
blue = "#81a1c1";
magenta = "#b48ead";
cyan = "#8fbcbb";
white = "#eceff4";
black = nord.n3;
red = nord.n11;
green = nord.n14;
yellow = nord.n13;
blue = nord.n9;
magenta = nord.n15;
cyan = nord.n8;
white = nord.n6;
};
dim = {
black = "#373e4d";