{
  config,
  pkgs,
  lib,
  ...
}: {
  boot = {
    bootspec.enable = true;

    initrd.systemd.enable = true;

    supportedFilesystems = ["ntfs"];

    kernelPackages = pkgs.linuxPackages_latest;

    consoleLogLevel = 3;

    kernelParams = [
      "quiet"
      "systemd.show_status=auto"
      "rd.udev.log_level=3"
      "plymouth.use-simpledrm"
    ];

    plymouth.enable = true;

    tmp = {
      useTmpfs = true;
      cleanOnBoot = true;
    };
  };

  systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";

  environment.systemPackages = [
    config.boot.kernelPackages.cpupower
    pkgs.brightnessctl
    pkgs.ddcutil
  ];
}
