aboutsummaryrefslogtreecommitdiff
path: root/modules/boot/options.nix
blob: 2f670f9398c2df5bfee22f5a103f4cacf7403c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  config,
  lib,
  ...
}: let
  inherit (lib) mkOption mkEnableOption types;
in {
  options = {
    collinux.boot = {
      systemd-boot.enable = mkEnableOption "systemd-boot";
      timeout = mkOption {
        description = "bootloader timeout";
        type = lib.types.int;
        default = 0;
      };
      plymouth = {
        enable = mkEnableOption "plymouth bootsplash";
        theme = mkOption {
          type = types.enum ["catppuccin" "adwaita"];
          default = config.collinux.theme;
        };
      };
      secureBoot.enable = mkEnableOption "lanzaboote";
    };
  };
}