Reshuffling stuff
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
coreEnabled = config.mySystem.system.core.enable or false;
|
||||
in
|
||||
{
|
||||
options.mySystem.system.locale.enable =
|
||||
lib.mkEnableOption "Flake & Nix settings";
|
||||
|
||||
config = lib.mkIf (coreEnabled || config.mySystem.system.locale.enable) {
|
||||
|
||||
# --- Flakes & Nix Settings ---
|
||||
nix.settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
download-buffer-size = 536870912; # 512 MB
|
||||
cores = 2;
|
||||
max-jobs = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user