summary refs log tree commit diff
path: root/modules/nix.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-12 04:00:28 +0200
committerMel <mel@rnrd.eu>2025-07-12 04:00:28 +0200
commit4fd56f73360372665dd072adac2a78156d4caf2d (patch)
treece681316938f536ad2309e1711ba3eb40046c8d2 /modules/nix.nix
parent90ae56d81617248ed6570dfc7fb67940db6f8450 (diff)
downloadminerals-4fd56f73360372665dd072adac2a78156d4caf2d.tar.zst
minerals-4fd56f73360372665dd072adac2a78156d4caf2d.zip
Setup new M1 MacBook as 'Moissanite' with Asahi Linux
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/nix.nix')
-rw-r--r--modules/nix.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nix.nix b/modules/nix.nix
index a96813b..0f4366a 100644
--- a/modules/nix.nix
+++ b/modules/nix.nix
@@ -38,7 +38,7 @@ in
         # yes nix, i know my flake is dirty!!!
         warn-dirty = false;
       }
-      (mkIf (me != "bismuth") bismuthCache)
+      (mkIf (me.name != "bismuth") bismuthCache)
     ];
 
     distributedBuilds = true;
@@ -57,7 +57,7 @@ in
           ];
         };
       in
-      lib.filter (m: m.hostName != me) [
+      lib.filter (m: m.hostName != me.name) [
         {
           hostName = tailnet "bismuth";
           maxJobs = 32;