From 438717fdf2d7f66f69e9cb5fcc55f8d09f60133f Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 3 Mar 2024 15:17:58 +0100 Subject: [PATCH] remote Builder with default as backup --- hosts/default.nix | 2 +- modules/hardware/remoteClient.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 5b22f8a..39ca372 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -93,7 +93,7 @@ in lanzaboote.nixosModules.lanzaboote ./steamdeck ./configuration_desktop.nix - #../modules/hardware/remoteClient.nix + ../modules/hardware/remoteClient.nix nixos-hardware.nixosModules.common-cpu-amd nixos-hardware.nixosModules.common-gpu-amd nixos-hardware.nixosModules.common-pc-ssd diff --git a/modules/hardware/remoteClient.nix b/modules/hardware/remoteClient.nix index a47e1da..50de8d8 100644 --- a/modules/hardware/remoteClient.nix +++ b/modules/hardware/remoteClient.nix @@ -11,15 +11,17 @@ sshUser = "nixremote"; sshKey = config.age.secrets."keys/nixremote".path; maxJobs = 1; - speedFactor = 8; + speedFactor = 4; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUVnbld5UVVVYSt2Y0hBS3g2ZWRiVGdxVzhwaCtNQ2lTNmZVd1lqWWNTK28gcm9vdEBoYWRlcwo=%"; protocol = "ssh-ng"; } ]; settings = { trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "hades-builder:AFdPgi6Qq/yKqc2V2imgzMikEkVEFCrDaHyAmOJ3MII=" ]; substituters = [ + "https://cache.nixos.org" "ssh-ng://hades" ]; };