prefect: enable building kernel for nanopi
Alan Pearce alan@alanpearce.eu
Sat, 26 Aug 2023 06:28:12 +0200
1 files changed, 13 insertions(+), 0 deletions(-)
jump to
M system/prefect.nix → system/prefect.nix
@@ -124,4 +124,17 @@ hostName = "prefect"; }; system.stateVersion = "23.05"; + + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + nix.settings.trusted-users = [ "root" "nixremote" ]; + users.users.nixremote = { + shell = "/bin/sh"; + isNormalUser = true; + home = "/var/lib/nixremote"; + createHome = true; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxa7lxDu0M4chats/VvpFzjT3ruexKa3J9UC6ASo3bN root@NanoPi.lan" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9of82WBHK8nr8L9RGeieLMfcAWaFCeCkmvYHM9LCuT nanopi" + ]; + }; }