aboutsummaryrefslogtreecommitdiff
path: root/modules/boot/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/boot/options.nix')
-rw-r--r--modules/boot/options.nix23
1 files changed, 23 insertions, 0 deletions
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";
+ };
+ };
+}