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