mirror of
https://github.com/sstent/nixos-on-odroid-m1.git
synced 2026-04-04 20:12:53 +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
|
# 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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user