changed remote build client key to use sops
This commit is contained in:
parent
62fdeeb803
commit
fe1d1533da
1 changed files with 4 additions and 2 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."nixremote/nixremote" = {};
|
||||
sops.secrets."nixremote/nixremote.pub" = {};
|
||||
|
||||
nix.buildMachines =
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
protocol = "ssh-ng";
|
||||
sshUser = "nixremote";
|
||||
sshKey = "/root/.ssh/nixremote";
|
||||
sshKey = config.sops.secrets."nixremote/nixremote".path;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
in
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue