feat: setup secure-boot

This commit is contained in:
tux
2026-05-08 05:09:38 +05:30
parent 718ee760cd
commit 3efd212f04
4 changed files with 200 additions and 28 deletions

View File

@@ -10,12 +10,14 @@
{
imports = with config.flake.modules.nixos; [
boot
networking
desktop
virtualisation
];
tnix = {
boot.secure-boot.enable = true;
services.openssh.enable = true;
virtualisation = {
@@ -52,7 +54,6 @@
# --- Boot ---
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxKernel.packages.linux_zen;