nichts/modules/system/boot/module.nix

23 lines
633 B
Nix

{lib, pkgs, ...}:let
inherit (lib.modules) mkForce;
in {
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
# security risk, see
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L208-L220
editor = mkForce false;
# device = "nodev";
configurationLimit = 15;
};
};
boot.plymouth = {
enable = true;
# font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
themePackages = [pkgs.catppuccin-plymouth];
theme = "catppuccin-macchiato";
};
}