Skip to content

Commit

Permalink
add terminfo module
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 27, 2024
1 parent 9ede5ae commit 210a632
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ in
exposeModules ./. [
./common
./mixins/telegraf.nix
./mixins/terminfo.nix
]
12 changes: 12 additions & 0 deletions darwin/mixins/terminfo.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ pkgs, lib, ... }:
{

# various terminfo packages
environment.systemPackages = [
pkgs.ncurses
pkgs.wezterm.terminfo # this one does not need compilation
# avoid compiling desktop stuff when doing cross nixos
] ++ lib.optionals (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) [
pkgs.termite.terminfo
];
}

0 comments on commit 210a632

Please sign in to comment.