feat: cleanup, secure boot for framework

This commit is contained in:
Kat Inskip 2024-03-17 10:38:09 -07:00
parent 15f40761fb
commit d37bd2c669
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
18 changed files with 297 additions and 144 deletions

View file

@ -1,8 +1,9 @@
_: {
boot.loader = {
{config, lib, ... }: let
inherit (lib.modules) mkIf;
in {
boot.loader = mkIf (config.boot.loader.grub.enable) {
timeout = null;
grub = {
enable = false;
useOSProber = true;
splashImage = ./splash.jpg;
extraConfig = ''

View file

@ -1,14 +0,0 @@
{
std,
config,
lib,
...
}: let
inherit (std) list;
inherit (lib.modules) mkDefault mkIf;
in {
boot = mkIf (list.elem "zfs" config.boot.supportedFilesystems) {
kernelPackages = mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
zfs.enableUnstable = true;
};
}