mirror of
https://github.com/heyitschloehawthorne/nix-config.git
synced 2025-12-16 03:08:38 +11:00
Split off Alacritty config
This commit is contained in:
34
home-manager/alacritty.nix
Normal file
34
home-manager/alacritty.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
home-manager zsh refind python314 unzip zip git gnumake apostrophe gnome-tweaks gnomeExtensions.user-themes dissent tuba
|
||||
audacity neovim
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user