Skip to content

Commit

Permalink
Allow root ssh access for the infra team
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jul 7, 2024
1 parent 9955da1 commit 8807856
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
inputs.nixos-infra = {
url = "github:nixos/infra";
flake = false;
};
inputs.ofborg.url = "github:nixos/ofborg";
outputs = { nixpkgs, self, ofborg }: {
outputs = { nixpkgs, self, ofborg, nixos-infra }: {
nixosConfigurations.aarch64-build-box = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
./configuration.nix
{ ofborg.package = ofborg.packages.aarch64-linux.ofborg.rs; }
{ users.users.root.openssh.authorizedKeys.keys = (import "${nixos-infra}/ssh-keys.nix").infra; }
];
};
hydraJobs.system = self.nixosConfigurations.aarch64-build-box.config.system.build.toplevel;
Expand Down

0 comments on commit 8807856

Please sign in to comment.