Add back the PineBook for later and make etc immutable

This commit is contained in:
Jimbo 2024-11-14 02:29:05 -05:00
parent 6f09998656
commit 8bad6194bc
18 changed files with 245 additions and 43 deletions

View file

@ -1,18 +0,0 @@
{ lib, config, ... }:
{
options.system.extlinux = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable Lanzaboote and force disable Systemd-boot";
};
};
config = lib.mkIf config.system.extlinux.enable {
boot.loader = {
generic-extlinux-compatible.enable = true;
systemd-boot.enable = lib.mkForce false;
grub.enable = lib.mkForce false;
};
};
}