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 =
|
nix.buildMachines =
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
protocol = "ssh-ng";
|
protocol = "ssh-ng";
|
||||||
sshUser = "nixremote";
|
sshUser = "nixremote";
|
||||||
sshKey = "/root/.ssh/nixremote";
|
sshKey = config.sops.secrets."nixremote/nixremote".path;
|
||||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue