diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-09-12 14:46:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 14:46:08 +0200 |
commit | a4dde5a1a96cb6d3f6a5fd2c4982419764243dd1 (patch) | |
tree | d1b30372bcf8754b76d0508eb3853c452835d3e4 /nixos/modules/config | |
parent | 49f1b36299f24a9c61e74a885dceb48bef06f539 (diff) | |
parent | c5de4a5be3d54436d8cdf2deb3f40dd7c52ddea6 (diff) |
Merge pull request #253334 from nbraud/nixos/terminfo
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/terminfo.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nixos/modules/config/terminfo.nix b/nixos/modules/config/terminfo.nix index 82f9ae48372af..1ae8e82c471e6 100644 --- a/nixos/modules/config/terminfo.nix +++ b/nixos/modules/config/terminfo.nix @@ -16,16 +16,24 @@ with lib; config = { - # can be generated with: filter (drv: (builtins.tryEval (drv ? terminfo)).value) (attrValues pkgs) + # can be generated with: + # attrNames (filterAttrs + # (_: drv: (builtins.tryEval (isDerivation drv && drv ? terminfo)).value) + # pkgs) environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [ alacritty + contour foot kitty mtm + rio rxvt-unicode-unwrapped rxvt-unicode-unwrapped-emoji + st termite + tmux wezterm + yaft ])); environment.pathsToLink = [ |