nixfmt-rfc-style
There is nothing in this commit except for the changes made by nix-shell -p nixfmt-rfc-style --run "nixfmt ." If this has mucked up your open branches then sorry about that. You can probably nixfmt them to match before merging
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
{
|
||||
liminix
|
||||
, lib
|
||||
, zyxel-bootconfig
|
||||
liminix,
|
||||
lib,
|
||||
zyxel-bootconfig,
|
||||
}:
|
||||
{
|
||||
ensureActiveImage,
|
||||
primaryMtdPartition,
|
||||
secondaryMtdPartition,
|
||||
bootConfigurationMtdPartition,
|
||||
kernelCommandLineSource,
|
||||
}:
|
||||
{ ensureActiveImage, primaryMtdPartition, secondaryMtdPartition, bootConfigurationMtdPartition, kernelCommandLineSource }:
|
||||
let
|
||||
inherit (liminix.services) oneshot;
|
||||
activeImageIndex = if ensureActiveImage == "primary" then 0 else 1;
|
||||
in oneshot {
|
||||
in
|
||||
oneshot {
|
||||
name = "zyxel-boot-configure";
|
||||
up = ''
|
||||
set -- $(cat /proc/device-tree/chosen/bootargs)
|
||||
|
Reference in New Issue
Block a user