nix/nixos/hosts/framework-server/builder.nix
2023-12-13 13:08:29 +09:00

13 lines
No EOL
419 B
Nix

{ inputs, config, lib, pkgs, modulesPath, desktop, username, ... }: {
# For remote builds
# see home-manager: bash.nix: nixos-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 ];
}