Files
dotfiles/modules/features/services/nixcache-oci.nix
T
moons-14 b2283ba328
NixOS CI / Validate flake (push) Has been cancelled
Publish Nix cache / Build and publish uncached paths (push) Has been cancelled
NixOS CI / Build ${{ matrix.host }} (push) Has been cancelled
NixOS CI / Report main status (push) Has been cancelled
nix cache
2026-07-18 20:09:04 +09:00

18 lines
294 B
Nix

{
lib,
config,
...
}:
let
cfg = config.my.features.services.nixcacheOci;
in
{
options.my.features.services.nixcacheOci = {
enable = lib.mkEnableOption "Nix binary cache backed by public GHCR";
};
config = lib.mkIf cfg.enable {
my.system.nixcacheOci.enable = true;
};
}