Files
nixos-config/system/core/limine.nix
T
jory 205a1ccc8f
CI / Flake check (aarch64-linux) (push) Successful in 1m30s
CI / Flake check (x86_64-linux) (push) Successful in 1m17s
CI / Pre-commit checks (x86_64-linux) (push) Failing after 19s
feat(github): add auto-conventional-commit hook with opencode integration
- Add prepare-commit-msg git hook that generates conventional commit messages
- Modularize fish configuration with separate conf.d files
- Convert configuration files from .text to .source format for structured data
- Add sops-nix SOPS configuration with explicit secret definitions
- Upgrade age identity to single key file management approach
- Add system activation script for age key management
- Generate .sops.yaml for SOPS creation rules
- Restructure README.md with improved table and cleaner formatting
- Refactor config files to use pkgs.formats.json/toml generators
- Implement YAML format for ashell and walker service configurations
- Update SSH config source to use sops secrets
- Convert zed and other config files to use structured .source format
2026-07-12 17:55:52 +02:00

30 lines
729 B
Nix

{
lib,
config,
pkgs,
...
}: let
cfg = config.boot.loader.limine;
in {
options.boot.loader.limine.bootMode = lib.mkOption {
type = lib.types.enum ["bios" "uefi"];
default = "uefi";
description = "Boot mode: BIOS (MBR) or UEFI";
};
config.boot.loader = {
limine = {
enable = true;
efiSupport = cfg.bootMode == "uefi";
biosSupport = cfg.bootMode == "bios";
biosDevice = lib.mkIf (cfg.bootMode == "bios") (lib.mkDefault "/dev/nvme1n1");
maxGenerations = 10;
style.wallpapers = [
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bootloader.gnomeFilePath
];
};
grub.enable = lib.mkForce false;
systemd-boot.enable = lib.mkForce false;
};
}