2023-11-25 07:32:35 +01:00
|
|
|
{ inputs, config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
2023-11-25 07:17:29 +01:00
|
|
|
# Testing remote builldings
|
|
|
|
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; [
|
|
|
|
# Currently used for building the Linode image
|
|
|
|
qemu_kvm
|
|
|
|
];
|
|
|
|
}
|