mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
feat: cleanup, secure boot for framework
This commit is contained in:
parent
15f40761fb
commit
d37bd2c669
18 changed files with 297 additions and 144 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue