WIP: Add binfmt emulation for all needed systems #34

Closed
simon wants to merge 1 commit from binfmt into master
2 changed files with 14 additions and 0 deletions

13
modules/binfmt.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
lib.mkIf config.sbruder.full {
# Emulates all configured systems except the actual system
boot.binfmt.emulatedSystems = lib.filter
(system: system != pkgs.stdenv.system)
[
"aarch64-linux"
"armv7l-linux"
"i686-linux"
"x86_64-linux"
];
}

View file

@ -35,6 +35,7 @@ in
# configuration options
imports = [
../pkgs/modules.nix
./binfmt.nix
./cups.nix
./docker.nix
./fonts.nix