modules/nixpkgs-config: provide nixpkgs.system for Hercules CI

This commit is contained in:
Max Headroom 2025-02-06 00:44:40 +01:00
parent bece25564e
commit 4c8a2bf428

View file

@ -1,9 +1,15 @@
{ depot, lib, ... }:
{ depot, lib, pkgs, ... }:
{
imports = [
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 [];
}