mirror of
https://github.com/sstent/nixos-on-odroid-m1.git
synced 2026-01-25 14:42:08 +00:00
Update flake.nix
This commit is contained in:
26
flake.nix
26
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 = {
|
||||
|
||||
Reference in New Issue
Block a user