Skip to content

Commit

Permalink
Add my-lzbt
Browse files Browse the repository at this point in the history
  • Loading branch information
42LoCo42 committed Mar 21, 2024
1 parent a57995b commit 0152822
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 35 deletions.
33 changes: 0 additions & 33 deletions flake.lock

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

18 changes: 16 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@

# inputs.nimble.inputs.nixpkgs.follows = "nixpkgs";

outputs = { self, nixpkgs, flake-utils, ... }:
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
# nimblePkgs = self.inputs.nimble.packages.${system};

lanza030 = import (pkgs.fetchFromGitHub {
owner = "nix-community";
repo = "lanzaboote";
rev = "v0.3.0";
hash = "sha256-Fb5TeRTdvUlo/5Yi2d+FC8a6KoRLk2h1VE0/peMhWPs=";
});
in
rec {
packages.${system} = rec {
Expand Down Expand Up @@ -56,7 +63,12 @@
};
});

# my-lanza = null;
my-lzbt = lanza030.packages.${system}.lzbt.overrideAttrs (_: {
meta = {
description = "Secure Boot for NixOS - pinned to v0.3.0";
homepage = "https://github.com/nix-community/lanzaboote";
};
});

my-ncmpcpp = pkgs.ncmpcpp.overrideAttrs (old: {
patches = [ ./packages/my-ncmpcpp.patch ];
Expand All @@ -70,6 +82,8 @@
"9mount" = import ./packages/9mount/module.nix {
packages = self.outputs.packages;
};

inherit (lanza030.nixosModules) lanzaboote;
};

templates = let dir = ./templates; in nixpkgs.lib.pipe dir [
Expand Down

0 comments on commit 0152822

Please sign in to comment.