zsh: remove vteIntegration from rescue image

This commit is contained in:
Colin 2023-11-08 11:26:55 +00:00
parent 68556222e2
commit 4d3e482174
2 changed files with 11 additions and 1 deletions

View File

@ -9,6 +9,7 @@
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
# sane.persist.enable = false; # TODO: disable (but run `nix flake check` to ensure it works!)
sane.nixcache.enable = false; # don't want to be calling out to dead machines that we're *trying* to rescue
sane.zsh.guiIntegrations = false; # save on unused dependencies
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
system.stateVersion = "21.05";

View File

@ -27,6 +27,7 @@ in
./starship.nix
];
options = {
# TODO: port to sane.programs options
sane.zsh = {
showDeadlines = mkOption {
type = types.bool;
@ -38,6 +39,14 @@ in
default = true;
description = "enable starship prompt";
};
guiIntegrations = mkOption {
type = types.bool;
default = true;
description = ''
integrate with things like VTE, so that windowing systems can show the PWD in the title.
drags in gtk+3.
'';
};
};
};
@ -145,7 +154,7 @@ in
'';
syntaxHighlighting.enable = true;
vteIntegration = true;
vteIntegration = cfg.guiIntegrations;
};
# enable a command-not-found hook to show nix packages that might provide the binary typed.