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 # kernel for serial console access to work well
boot.kernelParams = [ "console=ttyS2,1500000" ]; boot.kernelParams = [ "console=ttyS2,1500000" ];
hardware.deviceTree.name = "rockchip/rk3568-odroid-m1.dtb"; 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" # includes this flake in the live iso : "/etc/nixcfg"
environment.etc.nixcfg.source = #environment.etc.nixcfg.source =
builtins.filterSource # builtins.filterSource
(path: type: # (path: type:
baseNameOf path # baseNameOf path
!= ".git" # != ".git"
&& type != "symlink" # && type != "symlink"
&& !(pkgs.lib.hasSuffix ".qcow2" path) # && !(pkgs.lib.hasSuffix ".qcow2" path)
&& baseNameOf path != "secrets") # && baseNameOf path != "secrets")
../.; # ../.;
services.openssh = { services.openssh = {