mirror of
https://github.com/sstent/nixos-on-odroid-m1.git
synced 2026-04-05 12:34:10 +00:00
Update flake.nix
copying the config into the image as refernce
This commit is contained in:
12
flake.nix
12
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;
|
||||
|
||||
Reference in New Issue
Block a user