Update flake.nix

copying the config into the image as refernce
This commit is contained in:
2023-11-18 11:25:29 -05:00
committed by GitHub
parent dd95c4577f
commit c339512db3

View File

@@ -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;