summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-21 10:08:23 +0200
committerAlan Pearce2024-04-21 10:08:23 +0200
commit0f307f910ea246f6adee6f76df1a1aa7f91d6a6f (patch)
tree4b3547910b927794a6b517175f39fb394001c596
parented2b8a359bf46d2fd3ebe337a84b0058d95d6ac6 (diff)
downloadnixfiles-0f307f910ea246f6adee6f76df1a1aa7f91d6a6f.tar.lz
nixfiles-0f307f910ea246f6adee6f76df1a1aa7f91d6a6f.tar.zst
nixfiles-0f307f910ea246f6adee6f76df1a1aa7f91d6a6f.zip
mba: add a minimal ssh setup to linux-builder
-rw-r--r--system/mba.nix17
1 files changed, 13 insertions, 4 deletions
diff --git a/system/mba.nix b/system/mba.nix
index eb273c5e..43599eed 100644
--- a/system/mba.nix
+++ b/system/mba.nix
@@ -1,5 +1,4 @@
-{ ...
-}: {
+{ inputs, ... }: {
   imports = [
     ./settings/darwin.nix
     ./settings/programs/base.nix
@@ -48,8 +47,18 @@
         };
         cores = 4;
       };
+      # don't go crazy with this setup, it rebuilds the VM
+      imports = [
+        ./settings/configuration/user.nix
+        ./settings/programs/shell.nix
+      ];
+      environment.systemPackages = with (import inputs.nixpkgs {
+        system = "aarch64-linux";
+      }); [
+        kitty.terminfo
+        hello
+      ];
     };
+    systems = [ "aarch64-linux" ];
   };
 }
-# vim: sw=2 sts=2 expandtab autoindent smarttab
-