refactor: moved secure boot and disko

This commit is contained in:
Jay Looney 2025-09-12 20:49:29 -05:00
parent 3ae9e4aae3
commit 82f1d9d5c9
3 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,6 @@
{ inputs, ... }:
{
nixpkgs.config.allowUnfree = true;
imports = [
../../modules/nixos/base.nix
../../modules/nixos/audio.nix
@ -9,5 +10,8 @@
#./hardware.nix
./configuration.nix
./nvidia.nix
./secure-boot.nix
inputs.disko.nixosModules.disko
./disko.nix
];
}

View file

@ -0,0 +1,7 @@
{ pkgs, lib, inputs, ... }: {
imports = with inputs; [ lanzaboote.nixosModules.lanzaboote ];
environment.systemPackages = [ pkgs.sbctl ];
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote.enable = true;
boot.lanzaboote.pkiBundle = "/var/lib/sbctl";
}