From b4c08adea4179507af523dae113acd1c5df6b74d Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 2 Oct 2023 03:38:22 +0000 Subject: [PATCH] temp: disable terminfo on flame due to broken contour in nixpkgs --- modules/nixos/services/sshd.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/nixos/services/sshd.nix b/modules/nixos/services/sshd.nix index a160baa..4c2eed5 100644 --- a/modules/nixos/services/sshd.nix +++ b/modules/nixos/services/sshd.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: { +{ config, pkgs, lib, ... }: { options = { publicKey = lib.mkOption { @@ -32,7 +32,10 @@ services.sshguard.enable = true; # Add terminfo for SSH from popular terminal emulators - environment.enableAllTerminfo = true; + # Fix: terminfo now installs contour, which is broken on ARM + # - https://github.com/NixOS/nixpkgs/pull/253334 + # - Will disable until fixed + environment.enableAllTerminfo = pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64; }; }