Simplify code a bit
This commit is contained in:
parent
dbe682becd
commit
ead44f751e
21
flake.nix
21
flake.nix
|
@ -22,23 +22,20 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBlkVa6HyTPIoJoieFc9seM5Y31iaRsgHH3xH2tlxCSV asonix@graystripe"
|
||||
];
|
||||
|
||||
kernels = aarch64Pkgs.callPackage ./pkgs/linux { };
|
||||
rockchip = { system, uboot }: pkgs.callPackage ./images/rockchip.nix {
|
||||
inherit uboot;
|
||||
|
||||
buildImage = pkgs.callPackage ./pkgs/build-image { };
|
||||
image = pkgs.callPackage ./pkgs/aarch64-image {
|
||||
inherit system;
|
||||
};
|
||||
};
|
||||
|
||||
system = aarch64Pkgs.callPackage ./pkgs/system {
|
||||
inherit nixpkgs;
|
||||
inherit authorized-keys;
|
||||
kernel = kernels.testing-rockchip;
|
||||
};
|
||||
|
||||
buildImage = pkgs.callPackage ./pkgs/build-image { };
|
||||
|
||||
rockchip = { system, uboot }: pkgs.callPackage ./images/rockchip.nix {
|
||||
inherit uboot;
|
||||
inherit buildImage;
|
||||
|
||||
image = pkgs.callPackage ./pkgs/aarch64-image {
|
||||
inherit system;
|
||||
};
|
||||
kernel = aarch64Pkgs.callPackage ./pkgs/linux { }.testing-rockchip;
|
||||
};
|
||||
|
||||
quartzUBoots = aarch64Pkgs.callPackage ./pkgs/uboot-quartz64 { };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ nixpkgs, pkgs, lib, kernel, authorized-keys }:
|
||||
{ nixpkgs, pkgs, kernel, authorized-keys }:
|
||||
|
||||
let
|
||||
buildSystem = fdt: nixpkgs.lib.nixosSystem {
|
||||
|
|
Loading…
Reference in a new issue