modules/nixpkgs-config: provide nixpkgs.system for Hercules CI
This commit is contained in:
parent
bece25564e
commit
4c8a2bf428
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,15 @@
|
||||||
{ depot, lib, ... }:
|
{ depot, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
depot.inputs.nixpkgs.nixosModules.readOnlyPkgs
|
depot.inputs.nixpkgs.nixosModules.readOnlyPkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = lib.mkForce [];
|
options.nixpkgs.system = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = pkgs.system;
|
||||||
|
readOnly = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
config.nixpkgs.overlays = lib.mkForce [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue