dotfiles/modules/programs/hub.nix

23 lines
295 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, pkgs
, ...
}:
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";
};
};
};
}