linux_xanmod: apply nixfmt

This commit is contained in:
Shawn8901 2024-11-03 23:42:12 +01:00
parent add39c7b8c
commit daa7d3d93f

View File

@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, buildLinux, variant, ... } @ args:
{
lib,
stdenv,
fetchFromGitHub,
buildLinux,
variant,
...
}@args:
let
# These names are how they are designated in https://xanmod.org.
@ -16,7 +23,15 @@ let
};
};
xanmodKernelFor = { version, suffix ? "xanmod1", hash }: buildLinux (args // rec {
xanmodKernelFor =
{
version,
suffix ? "xanmod1",
hash,
}:
buildLinux (
args
// rec {
inherit version;
pname = "linux-xanmod";
modDirVersion = lib.versions.pad 3 "${version}-${suffix}";
@ -57,10 +72,18 @@ let
extraMeta = {
branch = lib.versions.majorMinor version;
maintainers = with lib.maintainers; [ moni lovesegfault atemu shawn8901 zzzsy ];
maintainers = with lib.maintainers; [
moni
lovesegfault
atemu
shawn8901
zzzsy
];
description = "Built with custom settings and new features built to provide a stable, responsive and smooth desktop experience";
broken = stdenv.hostPlatform.isAarch64;
};
} // (args.argsOverride or { }));
}
// (args.argsOverride or { })
);
in
xanmodKernelFor variants.${variant}