Regenerated

This commit is contained in:
2026-03-23 06:53:19 +00:00
parent 3e032f9148
commit e03875d2ac
33 changed files with 2 additions and 1452 deletions
+2 -19
View File
@@ -504,34 +504,17 @@ in
}
#+END_SRC
** =generated/todo/system/homebax.nix=
#+BEGIN_SRC nix :tangle generated/todo/system/homebax.nix :noweb tangle :mkdirp yes :eval never-html
** =generated/modules/system/nix.nix=
#+BEGIN_SRC nix :tangle generated/modules/system/nix.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, config, ... }:
let
coreEnabled = config.mySystem.system.core.enable or false;
in
{
# Top-level option for this module
options.mySystem.system.locale.enable =
lib.mkEnableOption "Enable Nix & Flake specific settings";
# Top-level container for all custom program configs (your myPrograms idea)
options.myPrograms = lib.mkOption {
type = lib.types.attrsOf lib.types.any;
default = {};
description = "Container for all custom program configurations";
};
# Apply the configuration only if core or locale is enabled
config = lib.mkIf (coreEnabled || config.mySystem.system.locale.enable) {
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
download-buffer-size = 536870912; # 512 MB
cores = 2;
max-jobs = 1;
};
};
}
#+END_SRC