summary refs log tree commit diff
path: root/modules/environments
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-04 14:59:36 +0200
committerRory& <root@rory.gay>2024-07-04 14:59:36 +0200
commitdd7b872694441a96b8b042ccbc4b63a96d0b89b9 (patch)
tree76a25875e08415c38cdb7b5ad8f93241b387d078 /modules/environments
parentUpdate flake inputs (diff)
downloadRory-Open-Architecture-dd7b872694441a96b8b042ccbc4b63a96d0b89b9.tar.xz
Nixfmt
Diffstat (limited to 'modules/environments')
-rwxr-xr-xmodules/environments/home.nix27
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"
+      ];
     };
   };