mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:08:12 +09:00
18 lines
294 B
Nix
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;
|
|
};
|
|
}
|