biggg refactor, holy shit
This commit is contained in:
parent
a3da6ab3af
commit
4c55bc97f6
10 changed files with 111 additions and 394 deletions
|
|
@ -10,13 +10,12 @@ in
|
|||
{
|
||||
options.modules.apps.zsh = {
|
||||
enable = lib.mkEnableOption "enable zsh with oh-my-zsh";
|
||||
enableAliases = lib.mkEnableOption "whether to enable shellAliases";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
shellAliases = lib.mkIf cfg.enableAliases {
|
||||
shellAliases = {
|
||||
update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos";
|
||||
nb = "nix build -L";
|
||||
ns = "nix shell -L";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue