conf: zsh

This commit is contained in:
lily 2024-07-26 18:10:34 -04:00
parent 7f82330be5
commit ba36254d3d
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
3 changed files with 11 additions and 4 deletions

View file

@ -16,6 +16,7 @@
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
gpg.format = "ssh"; gpg.format = "ssh";
core.symlinks = true;
}; };
}; };
} }

View file

@ -1,9 +1,14 @@
{ ... }: { pkgs, ... }:
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = "FiraCode Nerd Font"; theme = "Catppuccin-Mocha";
font = {
name = "FiraCode Nerd Font";
package = pkgs.fira-code-nerdfont;
size = 14;
};
settings = { settings = {
window_padding_width = 4; window_padding_width = 4;
}; };

View file

@ -52,7 +52,6 @@
programs.oh-my-posh = { programs.oh-my-posh = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
# useTheme = "catppuccin_mocha";
settings = { settings = {
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"; "$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json";
palette = { palette = {
@ -63,13 +62,15 @@
white = "#FFFFFF"; white = "#FFFFFF";
text = "#494D64"; text = "#494D64";
}; };
console_title_template = "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}";
blocks = [ blocks = [
{ {
alignment = "left"; alignment = "left";
newline = true;
segments = [ segments = [
{ {
background = "p:blue"; background = "p:blue";
foreground = "p:wight"; foreground = "p:white";
powerline_symbol = builtins.fromJSON '' "\ue0b4" ''; powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
leading_diamond = builtins.fromJSON '' "\ue0b6" ''; leading_diamond = builtins.fromJSON '' "\ue0b6" '';
style = "diamond"; style = "diamond";