changed remote build client key to use sops

This commit is contained in:
mc-fucker 2024-04-03 14:55:46 +02:00
parent 62fdeeb803
commit fe1d1533da

View file

@ -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
[