removed empty lines
This commit is contained in:
@@ -14,26 +14,22 @@
|
||||
];
|
||||
description = "List of supported nix build features for this system";
|
||||
};
|
||||
|
||||
buildMachines = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.attrs;
|
||||
default = [ ];
|
||||
description = "List of remote build machines configuration";
|
||||
};
|
||||
|
||||
cores = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.int;
|
||||
default = null;
|
||||
description = "Number of cores to use for builds (null = auto-detect)";
|
||||
};
|
||||
|
||||
maxJobs = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.int;
|
||||
default = null;
|
||||
description = "Maximum number of parallel jobs (null = auto-detect)";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
nix.settings = lib.mkMerge [
|
||||
{
|
||||
@@ -46,7 +42,6 @@
|
||||
max-jobs = config.my.nix.maxJobs;
|
||||
})
|
||||
];
|
||||
|
||||
nix.buildMachines = lib.mkIf (config.my.nix.buildMachines != [ ]) config.my.nix.buildMachines;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user