Set project name as a varible in flake so it can be changed easier.

This commit is contained in:
2025-12-11 16:20:20 +01:00
parent e0daa8743d
commit 7b51a603c4
9 changed files with 35 additions and 26 deletions

View File

@ -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
];
}