secure boot

This commit is contained in:
Callum Leslie 2024-09-12 17:11:34 +01:00
parent 7dd119992f
commit cd0e067dad
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
4 changed files with 256 additions and 35 deletions

View file

@ -20,8 +20,8 @@
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [self.overlays.default];
}
mod
]
++ mod
++ mods.sharedModules;
};
in
@ -38,8 +38,8 @@
inherit (mods) homeManagerModules nixosModules;
# TODO: use ./hosts/
nixosConfigurations = {
artemis = mkLinuxSystem ./hosts/artemis;
hermes = mkLinuxSystem ./hosts/hermes;
artemis = mkLinuxSystem [./hosts/artemis inputs.lanzaboote.nixosModules.lanzaboote];
hermes = mkLinuxSystem [./hosts/hermes];
};
diskoConfigurations = {}; # maybe?
om.health.default = {nix-version.min-required = "2.18.5";};
@ -160,6 +160,11 @@
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
# my custom programs
nish = {
url = "github:callumio/nish";