zsh: remove vteIntegration from rescue image
This commit is contained in:
parent
68556222e2
commit
4d3e482174
|
@ -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";
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user