From 623c33a30d2987e6366b04bbf63b0e389447a366 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 8 Sep 2023 15:17:08 +0200 Subject: works? --- modules/environments/home.nix | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 modules/environments/home.nix (limited to 'modules/environments') diff --git a/modules/environments/home.nix b/modules/environments/home.nix new file mode 100755 index 0000000..53ee357 --- /dev/null +++ b/modules/environments/home.nix @@ -0,0 +1,39 @@ +{ config, pkgs, lib, ... }: + +{ + nix = { + distributedBuilds = true; + + buildMachines = [ + #"self" = { + # + #}; + { + systems = [ "x86_64-linux" "i686-linux" ]; + hostName = "192.168.0.3"; + sshUser = "Rory"; + sshKey = "/home/Rory/.ssh/id_ed25519"; + maxJobs = 6; + #cores = 2; + speedFactor = 43200; + } + ]; + buildersUseSubstitutes = true; + #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 = { + trusted-substituters = [ + "https://nix-community.cachix.org" + "https://cache.garnix.io" + "https://numtide.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" + ]; + }; + }; + system.stateVersion = "22.11"; # DO NOT EDIT! +} -- cgit 1.5.1