summary refs log tree commit diff
path: root/modules/environments
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-08 19:34:44 +0100
committerRory& <root@rory.gay>2025-02-08 19:34:44 +0100
commit7dda362c06c93d53705cfd5ff78e895aeae95e9c (patch)
treeb71a3cb10e624cd756f9289d3453a41aed7aefc5 /modules/environments
parentAdd laptop, desktop changes (diff)
downloadRory-Open-Architecture-7dda362c06c93d53705cfd5ff78e895aeae95e9c.tar.xz
Format files
Diffstat (limited to 'modules/environments')
-rwxr-xr-xmodules/environments/home.nix52
1 files changed, 27 insertions, 25 deletions
diff --git a/modules/environments/home.nix b/modules/environments/home.nix

index 3fbf14e..cf9f841 100755 --- a/modules/environments/home.nix +++ b/modules/environments/home.nix
@@ -8,38 +8,40 @@ { 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" + # + 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" + ]; + hostName = "192.168.0.3"; + sshUser = "Rory"; + sshKey = "/home/Rory/.ssh/id_ed25519"; + maxJobs = 6; + speedFactor = 43200; + } + { + systems = [ + "x86_64-linux" + "i686-linux" + ]; + hostName = "192.168.0.59"; + sshUser = "Rory"; + sshKey = "/home/Rory/.ssh/id_ed25519"; + maxJobs = 2; + speedFactor = 16000; + } ]; - hostName = "192.168.0.3"; - sshUser = "Rory"; - sshKey = "/home/Rory/.ssh/id_ed25519"; - maxJobs = 6; - speedFactor = 43200; - } - { - systems = [ - "x86_64-linux" - "i686-linux" - ]; - hostName = "192.168.0.59"; - sshUser = "Rory"; - sshKey = "/home/Rory/.ssh/id_ed25519"; - maxJobs = 2; - 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" ]; settings = { builders-use-substitutes = true; - #builders + #builders trusted-substituters = [ "https://nix-community.cachix.org" "https://cache.garnix.io"