Update
This commit is contained in:
parent
704db21e45
commit
7ec3c68b93
1 changed files with 13 additions and 0 deletions
13
nixos/common/modules/builder.nix
Normal file
13
nixos/common/modules/builder.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ 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 ];
|
||||
}
|
Loading…
Reference in a new issue