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