Skip to content

Commit

Permalink
Add kexec target
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine committed Mar 31, 2024
1 parent ce9bff7 commit bfb3a13
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
37 changes: 37 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
flake-utils.url = "github:numtide/flake-utils";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = { self, nixpkgs, flake-utils }:
outputs = { self, nixpkgs, flake-utils, nixos-generators }:
let
pkgsOverlays = [
(import ./overlays/kubernetes/default.nix)
Expand Down Expand Up @@ -123,6 +127,16 @@
};

packages = {

kexec = nixos-generators.nixosGenerate {
modules = [
# you can include your own nixos configuration here, i.e.
# ./configuration.nix
];
format = "kexec_bundle";
};


benchstat = pkgs.benchstat;
cert-updater = pkgs.cert-updater;
cloud-init = pkgs.cloud-init;
Expand Down

0 comments on commit bfb3a13

Please sign in to comment.