From e4d5b6854c74dc751f39a8cd896dca33fc800e10 Mon Sep 17 00:00:00 2001
From: Julian Mutter <julian.mutter@comumail.de>
Date: Fri, 26 Jan 2024 12:54:10 +0100
Subject: [PATCH] home: move laptop nix config to dotfiles

---
 home-manager/Readme.org      |  6 ++++++
 home-manager/laptop-nix.conf | 12 ++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 home-manager/Readme.org
 create mode 100644 home-manager/laptop-nix.conf

diff --git a/home-manager/Readme.org b/home-manager/Readme.org
new file mode 100644
index 0000000..4a9f6a8
--- /dev/null
+++ b/home-manager/Readme.org
@@ -0,0 +1,6 @@
+#+title: Readme
+
+[[file:laptop-nix.conf]] was manually symlinked to file:/etc/nix/nix.conf
+and [[file:flake.nix]] was symlinked to file:~/.config/home-manager/flake.nix
+
+For deployment!!
diff --git a/home-manager/laptop-nix.conf b/home-manager/laptop-nix.conf
new file mode 100644
index 0000000..11713e2
--- /dev/null
+++ b/home-manager/laptop-nix.conf
@@ -0,0 +1,12 @@
+build-users-group = nixbld
+
+experimental-features = nix-command flakes
+
+builders-use-substitutes = true
+trusted-substituters = ssh://192.168.3.118
+substituters = ssh://192.168.3.118 https://cache.nixos.org https://nix-community.cachix.org
+trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
+# builders = ssh://192.168.3.118 - - 16 2 kvm,big-parallel,nixos-test
+
+extra-platforms = aarch64-linux
+extra-sandbox-paths = /usr/bin/qemu-aarch64-static