From f667cc4c148e4b346e74e2eef0fe429d9c9dcdfd Mon Sep 17 00:00:00 2001 From: Random936 Date: Mon, 21 Jul 2025 11:02:59 -0700 Subject: [PATCH] Updates to nix config to fix deprecation warnings --- home/modules/utils.nix | 2 +- home/modules/zsh.nix | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/home/modules/utils.nix b/home/modules/utils.nix index 9dcc07c..6ccffbd 100644 --- a/home/modules/utils.nix +++ b/home/modules/utils.nix @@ -39,6 +39,6 @@ }; # Install comma - imports = [ inputs.nix-index-database.hmModules.nix-index ]; + imports = [ inputs.nix-index-database.homeModules.nix-index ]; programs.nix-index-database.comma.enable = true; } diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index bbbc555..97f0f10 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -59,11 +59,7 @@ update-all = "update-config && update-home"; }; - initExtraBeforeCompInit = '' - [[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return - ''; - - initExtra = '' + initContent = '' export PATH=$PATH:~/.cargo/bin function .. { cd .. } function ... { cd ../.. }