2022-07-15 13:11:54 +02:00
|
|
|
{ config
|
|
|
|
, lib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.my.programs.hub;
|
|
|
|
in
|
|
|
|
{
|
2022-10-15 20:00:09 +02:00
|
|
|
options.my.programs.hub.enable = mkEnableOption "hub";
|
|
|
|
|
2022-07-15 13:11:54 +02:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
age.secrets = {
|
|
|
|
github = {
|
|
|
|
file = ../../secrets/github.age;
|
|
|
|
owner = "1000";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|