feat: Generate completions for fish and sync khal properly

This commit is contained in:
2026-03-04 17:43:52 +05:30
parent 7b86a1cb21
commit 7caf921746
7 changed files with 53 additions and 11 deletions

View File

@@ -2,5 +2,6 @@
programs.khal.enable = true;
programs.qcal.enable = true;
programs.vdirsyncer.enable = true;
services.vdirsyncer.enable = true;
accounts.calendar.accounts.fastmail.qcal.enable = true;
}

View File

@@ -46,14 +46,14 @@
};
home.shell.enableFishIntegration = true;
programs.bash = {
enable = true;
initExtra = ''
if [[ $- == *i* && -z "$FISH_VERSION" ]]; then
exec ${lib.getExe pkgs.fish}
fi
'';
};
# programs.bash = {
# enable = true;
# initExtra = ''
# if [[ $- == *i* && -z "$FISH_VERSION" ]]; then
# ${lib.getExe pkgs.fish}
# fi
# '';
# };
}
// lib.optionalAttrs (!(device.is "tsuba")) {
stylix.targets.fish.enable = false;