nix/nixos/common/modules/builder.nix
2024-04-21 12:24:50 +09:00

13 lines
365 B
Nix

{ 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 ];
}