Set project name as a varible in flake so it can be changed easier.
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
{ config, pkgs, username, ... }: {
|
||||
{ config, pkgs, username, project, ... }: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions = {
|
||||
enable = true;
|
||||
highlightStyle = "fg=242"; # Lighter gray shadow (0-255 scale)
|
||||
};
|
||||
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
@ -8,7 +13,7 @@
|
||||
};
|
||||
|
||||
shellInit = ''
|
||||
source /home/${username}/NixOS/other/aliases
|
||||
source /home/${username}/${project}/other/aliases
|
||||
eval "$(${pkgs.zoxide}/bin/zoxide init zsh --cmd cd)"
|
||||
'';
|
||||
|
||||
@ -26,5 +31,6 @@
|
||||
pkgs.zsh-powerlevel10k
|
||||
pkgs.zsh-syntax-highlighting
|
||||
pkgs.zsh-autocomplete
|
||||
pkgs.zsh-autosuggestions
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user