From a45c4551712c1ba5cb82eaf290f311ab0e8690e4 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 9 Jun 2025 17:40:46 +0000 Subject: big changes --- modules/boot/options.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/boot/options.nix (limited to 'modules/boot/options.nix') diff --git a/modules/boot/options.nix b/modules/boot/options.nix new file mode 100644 index 0000000..c040032 --- /dev/null +++ b/modules/boot/options.nix @@ -0,0 +1,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"; + }; + }; +} -- cgit v1.3.1