Files
NixOsConfig/modules/core/boot.nix
T
faumaray 079cceb554 update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 16:02:14 +03:00

22 lines
609 B
Nix

# Boot basics every host shares: EFI variable access, systemd in the initrd and
# the latest kernel. The boot loader itself is an aspect of its own: the host
# imports `secure-boot` (lanzaboote) or `systemd-boot`.
{
flake.modules.nixos.core =
{ lib, pkgs, ... }:
{
boot = {
loader.efi.canTouchEfiVariables = true;
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
programs = {
wireshark = {
enable = true;
package = pkgs.wireshark;
usbmon.enable = true;
dumpcap.enable = true;
};
};
};
}