dotfiles/modules/programs/hub.nix

22 lines
288 B
Nix

{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.programs.hub;
in
{
options.my.programs.hub.enable = mkEnableOption "hub";
config = mkIf cfg.enable {
age.secrets = {
github = {
file = ../../secrets/github.age;
owner = "1000";
};
};
};
}