diff --git a/flake.nix b/flake.nix index f19235d..1408834 100644 --- a/flake.nix +++ b/flake.nix @@ -71,17 +71,23 @@ # kernel for serial console access to work well boot.kernelParams = [ "console=ttyS2,1500000" ]; hardware.deviceTree.name = "rockchip/rk3568-odroid-m1.dtb"; - + + # Turn on flakes. + ##nix.package = pkgs.nixVersions.stable; + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; + # 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") - ../.; + #environment.etc.nixcfg.source = + # builtins.filterSource + # (path: type: + # baseNameOf path + # != ".git" + # && type != "symlink" + # && !(pkgs.lib.hasSuffix ".qcow2" path) + # && baseNameOf path != "secrets") + # ../.; services.openssh = {