mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:11:54 -05:00
petalburg: enable lanzaboote
This commit is contained in:
parent
f8c4a4e207
commit
85969849ea
|
@ -1,6 +1,7 @@
|
||||||
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
|
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -9,6 +10,7 @@
|
||||||
./home.nix
|
./home.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
self.inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
||||||
self.nixosModules.common-auto-upgrade
|
self.nixosModules.common-auto-upgrade
|
||||||
self.nixosModules.common-base
|
self.nixosModules.common-base
|
||||||
|
@ -22,11 +24,17 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
initrd.systemd.enable = true;
|
||||||
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
|
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
|
||||||
|
|
||||||
|
lanzaboote = {
|
||||||
|
enable = true;
|
||||||
|
pkiBundle = "/etc/secureboot";
|
||||||
|
};
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = lib.mkForce false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue