Split off Alacritty config

This commit is contained in:
Chloe Hawthorne
2025-01-01 17:42:30 +11:00
parent a59b64065d
commit d951679ced
3 changed files with 69 additions and 11 deletions

View File

@@ -0,0 +1,34 @@
{ pkgs, ... }:
alacritty = {
enable = true;
settings = {
font.normal.family = "CozetteVector";
font.bold.family = "CozetteVector";
font.bold.style = "bold";
font.size = 12.0;
colors.primary = {
background = "0x2D2A2E";
foreground = "0xfff1f3";
};
colors.normal = {
black = "0x2c2525";
red = "0xfd6883";
green = "0xadda78";
yellow = "0xf9cc6c";
blue = "0xf38d70";
magenta = "0xa8a9eb";
cyan = "0x85dacc";
white = "0xfff1f3";
};
colors.bright = {
black = "0x72696a";
red = "0xfd6883";
green = "0xadda78";
yellow = "0xf9cc6c";
blue = "0xf38d70";
magenta = "0xa8a9eb";
cyan = "0x85dacc";
white = "0xfff1f3";
};
};
};

View File

@@ -10,14 +10,8 @@
}: {
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# outputs.homeManagerModules.example
./alacritty.nix
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
];
nixpkgs = {
@@ -54,7 +48,7 @@
zsh-powerlevel10k
cozette
yt-dlp
celluloid
clapper
hyfetch
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; })
];
@@ -69,13 +63,42 @@
font.bold.family = "CozetteVector";
font.bold.style = "bold";
font.size = 12.0;
colors.primary = {
background = "0x2D2A2E";
foreground = "0xfff1f3";
};
colors.normal = {
black = "0x2c2525";
red = "0xfd6883";
green = "0xadda78";
yellow = "0xf9cc6c";
blue = "0xf38d70";
magenta = "0xa8a9eb";
cyan = "0x85dacc";
white = "0xfff1f3";
};
colors.bright = {
black = "0x72696a";
red = "0xfd6883";
green = "0xadda78";
yellow = "0xf9cc6c";
blue = "0xf38d70";
magenta = "0xa8a9eb";
cyan = "0x85dacc";
white = "0xfff1f3";
};
};
};
# ZSH Config
zsh = {
enable = true;
initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
shellAliases = {
nixconfig = "nano ~/nix-config/nixos/configuration.nix";
pkgconfig = "nano ~/nix-config/nixos/pkgs.nix";
homeconfig = "nano ~/nix-config/home-manager/home.nix";
rebuild-conf = "sudo nixos-rebuild switch --flake ~/nix-config";
};
};
# Add stuff for your user as you see fit:

View File

@@ -1,5 +1,6 @@
{ pkgs, ... } : {
environment.systemPackages = with pkgs; [
home-manager zsh refind python314 unzip zip git gnumake apostrophe gnome-tweaks gnomeExtensions.user-themes dissent tuba
audacity neovim
];
}