feat: Add basic configuration for Git{hub,lab} CLIs
This commit is contained in:
17
modules/home/glab.nix
Normal file
17
modules/home/glab.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let cfg = config.programs.glab;
|
||||
in {
|
||||
options = {
|
||||
programs.glab = {
|
||||
enable = mkEnableOption "the GitLab CLI tool";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# TODO: Everything else. }:)
|
||||
home.packages = [ pkgs.glab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user