mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add secure boot to nbl
This commit is contained in:
parent
39ee11a4db
commit
0427336b8e
3 changed files with 228 additions and 94 deletions
|
|
@ -524,7 +524,7 @@ Lastly I define some common module lists that I can simply load depending on the
|
|||
# # NixOS modules that can only be used on NixOS systems
|
||||
nixModules = [
|
||||
inputs.stylix.nixosModules.stylix
|
||||
# inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.disko.nixosModules.disko
|
||||
# inputs.impermanence.nixosModules.impermanence
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
|
|
@ -2008,7 +2008,7 @@ My work machine.
|
|||
|
||||
#+begin_src nix :tangle profiles/nbl-imba-2/default.nix
|
||||
|
||||
{ inputs, outputs, config, pkgs, ... }:
|
||||
{ inputs, outputs, config, pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
|
@ -2043,8 +2043,12 @@ My work machine.
|
|||
networking.networkmanager.wifi.scanRandMacAddress = false;
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.systemd-boot.enable = lib.mkForce false;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
supportedFilesystems = [ "btrfs" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = [
|
||||
|
|
@ -5420,6 +5424,9 @@ Mostly used to install some compilers and lsp's that I want to have available wh
|
|||
|
||||
# pinentry
|
||||
|
||||
# secure boot
|
||||
sbctl
|
||||
|
||||
nix-index
|
||||
|
||||
# keyboards
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue