Nixfmt
1 files changed, 21 insertions, 6 deletions
diff --git a/modules/environments/home.nix b/modules/environments/home.nix
index 0658abb..3fbf14e 100755
--- a/modules/environments/home.nix
+++ b/modules/environments/home.nix
@@ -1,12 +1,20 @@
-{ config, pkgs, lib, ... }:
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}:
{
nix = {
distributedBuilds = true;
-#
+ #
buildMachines = builtins.filter (machine: !builtins.any (ip: ip == machine.hostName) (builtins.map (iface: iface.ipv4.addresses) (builtins.attrValues config.networking.interfaces))) [
{
- systems = [ "x86_64-linux" "i686-linux" ];
+ systems = [
+ "x86_64-linux"
+ "i686-linux"
+ ];
hostName = "192.168.0.3";
sshUser = "Rory";
sshKey = "/home/Rory/.ssh/id_ed25519";
@@ -14,7 +22,10 @@
speedFactor = 43200;
}
{
- systems = [ "x86_64-linux" "i686-linux" ];
+ systems = [
+ "x86_64-linux"
+ "i686-linux"
+ ];
hostName = "192.168.0.59";
sshUser = "Rory";
sshKey = "/home/Rory/.ssh/id_ed25519";
@@ -22,7 +33,7 @@
speedFactor = 16000;
}
];
-
+
#ssh://Rory@192.168.0.3 x86_64-linux,i686-linux /home/Rory/.ssh/id_ed25519 12 1 - - -
registry.nixpkgs.flake = pkgs;
nixPath = [ "nixpkgs=flake:nixpkgs" ];
@@ -39,7 +50,11 @@
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="
];
- trusted-users = [ "root" "@wheel" "Rory" ];
+ trusted-users = [
+ "root"
+ "@wheel"
+ "Rory"
+ ];
};
};
|