Switch back to wpa_supplicant, lots of tweaks and simplifications

This commit is contained in:
Bun 2025-03-26 09:56:44 -04:00
parent 777ebab1c4
commit 88bf37e5b3
15 changed files with 32 additions and 55 deletions

View file

@ -1,7 +1,6 @@
{ ... }:
{
imports = [
./extlinux
./grub
./lanzaboote
./plymouth

View file

@ -1,10 +0,0 @@
{ config, lib, ... }:
{
options.system.extlinux.enable = lib.mkEnableOption "Enable extlinux";
config.boot.loader = lib.mkIf config.system.extlinux.enable {
grub.enable = false;
systemd-boot.enable = lib.mkForce false;
generic-extlinux-compatible.enable = true;
};
}

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
{
boot.loader = lib.mkIf config.boot.loader.grub.enable {
boot.loader = {
grub = {
efiSupport = true;
efiInstallAsRemovable = true;

View file

@ -2,9 +2,6 @@
{
imports = [ lanzaboote.nixosModules.lanzaboote ];
boot = lib.mkIf config.boot.lanzaboote.enable {
lanzaboote.pkiBundle = "/etc/secureboot";
};
boot.lanzaboote.pkiBundle = "/etc/secureboot";
environment.systemPackages = with pkgs; [ sbctl ];
}

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
{
boot.loader.systemd-boot = lib.mkIf config.boot.loader.systemd-boot.enable {
boot.loader.systemd-boot = {
editor = false;
graceful = true;
};