make changes for evaluation warnings

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2025-05-31 16:18:12 -04:00
parent f671e4bcf5
commit 4fcd627fac
5 changed files with 26 additions and 25 deletions

View File

@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
{
programs.zsh = {
@ -22,7 +22,27 @@
"z"
];
};
initExtra = ''
/*
To specify the order, use lib.mkOrder.
Common order values:
500 (mkBefore): Early initialization (replaces initExtraFirst)
550: Before completion initialization (replaces initExtraBeforeCompInit)
1000 (default): General configuration (replaces initExtra)
1500 (mkAfter): Last to run configuration
To specify both content in Early initialization and General configuration, use lib.mkMerge.
e.g.
initContent = let zshConfigEarlyInit = lib.mkOrder 500 do something; zshConfig = lib.mkOrder 1000 do something; in lib.mkMerge [ zshConfigEarlyInit zshConfig ];
*/
initContent = lib.mkOrder 1000 ''
# functions
function mount-data {
if [[ -f /home/alice/backup/.noconnection ]]; then