22 lines
609 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|