nix/nixos/common/modules/builder.nix

14 lines
365 B
Nix
Raw Normal View History

2024-04-21 05:24:50 +02:00
{ pkgs, ... }: {
# FoR remote builds
# see home-manager: bash.nix: rebuild-*-remote
# users.users.${username}.openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/builder-keys.txt ];
# For cross-architecture builds
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"armv7l-linux"
];
environment.systemPackages = with pkgs; [ qemu_kvm ];
}