From df9ffcb7b1fb9318e6044ec37ebb451ce40b9190 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 8 Nov 2023 15:30:28 +0000 Subject: [PATCH] zsh: auto-detect guiIntegrations feature --- hosts/by-name/rescue/default.nix | 1 - hosts/common/programs/zsh/default.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/by-name/rescue/default.nix b/hosts/by-name/rescue/default.nix index 1223a4cf..940cb2d3 100644 --- a/hosts/by-name/rescue/default.nix +++ b/hosts/by-name/rescue/default.nix @@ -8,7 +8,6 @@ sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ]; sane.persist.enable = false; 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 # auto-login at shell services.getty.autologinUser = "colin"; diff --git a/hosts/common/programs/zsh/default.nix b/hosts/common/programs/zsh/default.nix index b35b9828..c5040798 100644 --- a/hosts/common/programs/zsh/default.nix +++ b/hosts/common/programs/zsh/default.nix @@ -41,7 +41,7 @@ in }; guiIntegrations = mkOption { type = types.bool; - default = true; + default = config.sane.programs.guiApps.enabled; description = '' integrate with things like VTE, so that windowing systems can show the PWD in the title. drags in gtk+3.