From c339512db3e29f1a0b1531ef77210089b2126077 Mon Sep 17 00:00:00 2001 From: sstent Date: Sat, 18 Nov 2023 11:25:29 -0500 Subject: [PATCH] Update flake.nix copying the config into the image as refernce --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/flake.nix b/flake.nix index a988683..f19235d 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,18 @@ # kernel for serial console access to work well boot.kernelParams = [ "console=ttyS2,1500000" ]; hardware.deviceTree.name = "rockchip/rk3568-odroid-m1.dtb"; + + # includes this flake in the live iso : "/etc/nixcfg" + environment.etc.nixcfg.source = + builtins.filterSource + (path: type: + baseNameOf path + != ".git" + && type != "symlink" + && !(pkgs.lib.hasSuffix ".qcow2" path) + && baseNameOf path != "secrets") + ../.; + services.openssh = { enable = true;