move options back out to their config files, improve documentation

This commit is contained in:
greyweather committed 2026-09-02 00:05:28 +01:00
1 parent 70ac7954ad
commit 9c13923c2e
30 files changed
+344 -233

No files matched your search

+5 -1
View File
@@ -1,8 +1,12 @@
{ inputs, self, ... }: {
flake.nixosModules.global = { pkgs, config, lib, ... }: {
boot.loader.grub = lib.mkIf (config.components.bootLoader == "grub") {
boot.loader.grub = lib.mkIf (config.components.bootLoader.selection == "grub") {
enable = true;
useOSProber = true;
configurationLimit = config.components.bootLoader.maxGenerations;
extraConfig = ''
timeout ${config.components.bootLoader.timeout}
'';
};
};
}