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
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
bootspec.enable = true;
|
||||
|
||||
initrd.systemd.enable = true;
|
||||
|
||||
supportedFilesystems = ["ntfs"];
|
||||
|
||||
+14
-6
@@ -1,20 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot.loader = {
|
||||
}: 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 = true;
|
||||
biosSupport = true;
|
||||
biosDevice = "/dev/nvme1n1";
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user