Skip to content

Commit

Permalink
nix: remove explicit protocol
Browse files Browse the repository at this point in the history
Just respect defaults
  • Loading branch information
khaneliman committed Jan 4, 2025
1 parent d3e6e0b commit e875c41
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ in

buildMachines =
let
protocol = if pkgs.stdenv.isLinux then "ssh-ng" else "ssh";
sshUser = "khaneliman";
supportedFeatures = [
"benchmark"
Expand All @@ -86,7 +85,7 @@ in
lib.optionals config.${namespace}.security.sops.enable [
(
lib.mkIf (host != "khanelinix") {
inherit protocol sshUser;
inherit sshUser;
hostName = "khanelinix.local";
systems = [
"x86_64-linux"
Expand All @@ -111,7 +110,7 @@ in
[
(
{
inherit protocol sshUser systems;
inherit sshUser systems;
hostName = "khanelimac.local";
maxJobs = 24;
speedFactor = 10;
Expand All @@ -124,7 +123,7 @@ in
(
# NOTE: git clone --reference /var/lib/nixpkgs.git https://github.com/NixOS/nixpkgs.git
{
inherit protocol sshUser systems;
inherit sshUser systems;
hostName = "darwin-build-box.nix-community.org";
maxJobs = 32;
speedFactor = 5;
Expand Down

0 comments on commit e875c41

Please sign in to comment.