nix: move package and module into subdir

This commit is contained in:
nikstur 2022-12-25 15:49:49 +01:00
parent e90262608e
commit 912c9b27a6
3 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
rust-nightly = pkgs.rust-bin.fromRustupToolchainFile ./rust/lanzaboote/rust-toolchain.toml;
craneLib = crane.lib.x86_64-linux.overrideToolchain rust-nightly;
uefi-run = pkgs.callPackage ./nix/uefi-run.nix {
uefi-run = pkgs.callPackage ./nix/packages/uefi-run.nix {
inherit craneLib;
};
@ -100,7 +100,7 @@
};
nixosModules.lanzaboote = { pkgs, lib, ... }: {
imports = [ ./nix/lanzaboote.nix ];
imports = [ ./nix/modules/lanzaboote.nix ];
boot.lanzaboote.package = lib.mkDefault self.packages.${pkgs.system}.lanzatool;
};