diff options
Diffstat (limited to 'users/seth/programs/gh.nix')
| -rw-r--r-- | users/seth/programs/gh.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/users/seth/programs/gh.nix b/users/seth/programs/gh.nix deleted file mode 100644 index 8b33162..0000000 --- a/users/seth/programs/gh.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - config, - lib, - ... -}: -let - cfg = config.seth.programs.gh; -in -{ - options.seth.programs.gh = { - enable = lib.mkEnableOption "GitHub CLI" // { - default = config.seth.programs.git.enable; - defaultText = "config.seth.programs.git.enable"; - }; - }; - - config = lib.mkIf cfg.enable { - programs.gh = { - enable = true; - - settings = { - git_protocol = "https"; - editor = "nvim"; - prompt = "enabled"; - }; - - gitCredentialHelper = { - enable = true; - hosts = [ - "https://github.com" - "https://github.example.com" - ]; - }; - }; - }; -} |
