Add nix-colors

This commit is contained in:
GHOSCHT 2023-12-27 10:31:23 +01:00
parent 0c1666d911
commit e8dfc420fe
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
3 changed files with 47 additions and 3 deletions

View file

@ -2,15 +2,17 @@
inputs, inputs,
outputs, outputs,
... ...
}: { }: let
in {
imports = [ imports = [
./global ./global
./features/desktop/awesome ./features/desktop/awesome
./features/games ./features/games
./features/coding ./features/coding
inputs.nix-colors.homeManagerModules.default
]; ];
# colorscheme = inputs.nix-colors.colorschemes.paraiso; colorScheme = inputs.nix-colors.colorSchemes.catppuccin-mocha;
# wallpaper = outputs.wallpapers.cyberpunk-city-red; # wallpaper = outputs.wallpapers.cyberpunk-city-red;
# #
# # ------ ----- ------ # # ------ ----- ------

View file

@ -0,0 +1,39 @@
{
pkgs,
config,
...
}: {
programs.alacritty.enable = true;
programs.alacritty.settings = {
colors = with config.colorScheme.colors; {
bright = {
black = "0x${base00}";
blue = "0x${base0D}";
cyan = "0x${base0C}";
green = "0x${base0B}";
magenta = "0x${base0E}";
red = "0x${base08}";
white = "0x${base06}";
yellow = "0x${base09}";
};
cursor = {
cursor = "0x${base06}";
text = "0x${base06}";
};
normal = {
black = "0x${base00}";
blue = "0x${base0D}";
cyan = "0x${base0C}";
green = "0x${base0B}";
magenta = "0x${base0E}";
red = "0x${base08}";
white = "0x${base06}";
yellow = "0x${base0A}";
};
primary = {
background = "0x${base00}";
foreground = "0x${base06}";
};
};
};
}

View file

@ -1,3 +1,6 @@
{ {
imports = [./firefox.nix]; imports = [
./firefox.nix
./alacritty.nix
];
} }