diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-02-17 20:55:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 20:55:54 +0100 |
commit | d12bb5b983979b16c949fae8c60aa50ab84acf68 (patch) | |
tree | 2a3034f8ad25f90088e400dde2e45eb5db3f04a7 /nixos/modules/config | |
parent | fabbb8df7480b8f7f49906e1a8f9ba10362cefec (diff) | |
parent | 577bb277aa3ccab68942424aca71cf44b03b39df (diff) | |
download | nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar.gz nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar.bz2 nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar.lz nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar.xz nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.tar.zst nixlib-d12bb5b983979b16c949fae8c60aa50ab84acf68.zip |
Merge pull request #213783 from SuperSandro2000/nox-vte
nixos/vte: use vte without any GUI dependencies; nixos/no-x-libs: add vte
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/no-x-libs.nix | 1 | ||||
-rw-r--r-- | nixos/modules/config/vte.nix | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix index 2f763290e32d..32b17f6059ef 100644 --- a/nixos/modules/config/no-x-libs.nix +++ b/nixos/modules/config/no-x-libs.nix @@ -83,6 +83,7 @@ with lib; # translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11 util-linux = super.util-linux.override { translateManpages = false; }; vim-full = super.vim-full.override { guiSupport = false; }; + vte = super.vte.override { gtkVersion = null; }; zbar = super.zbar.override { enableVideo = false; withXorg = false; }; })); }; diff --git a/nixos/modules/config/vte.nix b/nixos/modules/config/vte.nix index a969607f6e0b..48f85246560a 100644 --- a/nixos/modules/config/vte.nix +++ b/nixos/modules/config/vte.nix @@ -1,5 +1,3 @@ -# VTE - { config, pkgs, lib, ... }: with lib; @@ -9,7 +7,7 @@ let vteInitSnippet = '' # Show current working directory in VTE terminals window title. # Supports both bash and zsh, requires interactive shell. - . ${pkgs.vte}/etc/profile.d/vte.sh + . ${pkgs.vte.override { gtkVersion = null; }}/etc/profile.d/vte.sh ''; in |