diff --git a/nixops/rpi.nix b/nixops/rpi.nix index e72ef2ef..dad69638 100644 --- a/nixops/rpi.nix +++ b/nixops/rpi.nix @@ -58,6 +58,13 @@ in nix = { isNormalUser = true; }; + nixbld = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout"]; + openssh.authorizedKeys.keys = [ + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxqGdllmXCeadFvqhpWpPfeh/sSiORxCJQO6wCEnkctoYYn9chegj5tXz5dm7WvXQt73pFMytyXBXKidMMXpW2pTxLXVt3tV2rWf1MspznyMHND1xJTXZzPvmF3YiwMvJ2UkLCiW0ixlKn4z30rcsC+jn+aunNo8lsRCNeIIhHpe1JollM05w2YXE0/BUXTXDpqBXWPPvs0GdsSecwWMMhwvVQAFyms1aSevEPADrHa6Zbk8+MnS5FMFrPiJc8RSEsPkG0OOsAG1gWFyKqT5nXHpgcK1AjO5YOlBKfj//b8yLppP3BRmvnulnAJ9+uscWfzxi3cdofgcl4sT/J16Dh hydra-queue-runner@nixbld" + ]; + }; }; security.sudo.wheelNeedsPassword = false; services.udev.packages = [ m-labs.openocd ];