diff --git a/home/adalbert.nix b/home/adalbert.nix index a437239..78f2915 100644 --- a/home/adalbert.nix +++ b/home/adalbert.nix @@ -2,15 +2,17 @@ inputs, outputs, ... -}: { +}: let +in { imports = [ ./global ./features/desktop/awesome ./features/games ./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; # # # ------ ----- ------ diff --git a/home/features/desktop/common/alacritty.nix b/home/features/desktop/common/alacritty.nix new file mode 100644 index 0000000..c90d8f3 --- /dev/null +++ b/home/features/desktop/common/alacritty.nix @@ -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}"; + }; + }; + }; +} diff --git a/home/features/desktop/common/default.nix b/home/features/desktop/common/default.nix index dad3d2f..bbd17ca 100644 --- a/home/features/desktop/common/default.nix +++ b/home/features/desktop/common/default.nix @@ -1,3 +1,6 @@ { - imports = [./firefox.nix]; + imports = [ + ./firefox.nix + ./alacritty.nix + ]; }