From afe3d9fe2e52a76c618431c8c2bad34f4ee79279 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 4 Sep 2022 03:42:31 -0400 Subject: [PATCH] Reeanble binfmt --- modules/linux/programs/utils.nix | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/modules/linux/programs/utils.nix b/modules/linux/programs/utils.nix index b672c4d..5f68e25 100644 --- a/modules/linux/programs/utils.nix +++ b/modules/linux/programs/utils.nix @@ -8,29 +8,8 @@ with lib; ../../common/programs/utils.nix ]; config = mkMerge [ - (mkIf nathan.programs.utils.core - { - environment.systemPackages = with pkgs; [ - # Basic command line utilities - wget - tmux - nano - unzip - any-nix-shell - htop - # For nslookup - dnsutils - # Mosh for better high-latency ssh - mosh - # PV for viewing pipes - pv - ]; - }) - (mkIf nathan.programs.utils.devel { - environment.systemPackages = with pkgs; [ - gcc - binutils - ]; + (mkIf nathan.programs.utils.binfmt { + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; }) ]; }