restructure with nixos modules

This commit is contained in:
Pim Kunis 2023-10-08 11:44:31 +02:00
parent 159f5dfe75
commit 1f1c30f57c
19 changed files with 235 additions and 182 deletions

29
alacritty/config.nix Normal file
View file

@ -0,0 +1,29 @@
{
# Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml)
colors = {
primary = {
background = "0x282828";
foreground = "0xebdbb2";
};
normal = {
black = "0x282828";
red = "0xcc241d";
green = "0x98971a";
yellow = "0xd79921";
blue = "0x458588";
magenta = "0xb16286";
cyan = "0x689d6a";
white = "0xa89984";
};
bright = {
black = "0x928374";
red = "0xfb4934";
green = "0xb8bb26";
yellow = "0xfabd2f";
blue = "0x83a598";
magenta = "0xd3869b";
cyan = "0x8ec07c";
white = "0xebdbb2";
};
};
}

8
alacritty/default.nix Normal file
View file

@ -0,0 +1,8 @@
{
config = {
programs.alacritty = {
enable = true;
settings = import ./config.nix;
};
};
}