System/modules/linux/programs/utils.nix

12 lines
318 B
Nix

{ config, lib, pkgs, ... }:
let nathan = config.nathan;
in with lib; {
imports = [ ../../common/programs/utils.nix ];
config = mkMerge [
(mkIf nathan.programs.utils.binfmt {
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
})
{ environment.systemPackages = with pkgs; [ gmp gmp.dev ]; }
];
}