Update flake.nix

This commit is contained in:
2023-11-18 11:36:33 -05:00
committed by GitHub
parent c339512db3
commit 5922983c2e

View File

@@ -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 = {