nix/nixos/hosts/framework-server/builder.nix
2024-01-29 08:15:52 +09:00

13 lines
No EOL
417 B
Nix

{ inputs, config, lib, pkgs, modulesPath, desktop, username, ... }: {
# 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 ];
}