Begin migrate to custom configuration
This commit is contained in:
parent
4d24fae830
commit
431e5c8d7c
8 changed files with 291 additions and 45 deletions
|
@ -1,22 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "FiraCode Nerd Font";
|
||||
package = pkgs.fira-code-nerdfont;
|
||||
};
|
||||
|
||||
settings = {
|
||||
shell = "zsh";
|
||||
disable_ligatures = "never";
|
||||
sync_to_monitor = "yes"; # Avoid to update a lot
|
||||
confirm_os_window_close = 0; # Disable close confirmation
|
||||
|
||||
background_opacity = "0.7";
|
||||
background_blur = "1";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,26 +1,5 @@
|
|||
{ config, pkgs, users, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
initExtra = ''
|
||||
[[ ! -f ${../files/p10k.zsh} ]] || source ${../files/p10k.zsh}
|
||||
'';
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
file = "powerlevel10k.zsh-theme";
|
||||
name = "powerlevel10k";
|
||||
src = "${zsh-powerlevel10k}/share/zsh-powerlevel10k";
|
||||
}
|
||||
{
|
||||
file = "p10k.zsh";
|
||||
name = "powerlevel10k-config";
|
||||
src = zsh-powerlevel10k;
|
||||
}
|
||||
];
|
||||
};
|
||||
homePrograms.zsh.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue