refactor: moved secure boot and disko
This commit is contained in:
parent
3ae9e4aae3
commit
82f1d9d5c9
3 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
7
hosts/titanium/secure-boot.nix
Normal file
7
hosts/titanium/secure-boot.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue