328 current 1970-01-01 01:00:00 23.11.20240518.e7cc617 6.6.30-rt30 *
This commit is contained in:
@ -3,16 +3,16 @@
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.git;
|
||||
cfg = config.myConfig.git;
|
||||
in {
|
||||
imports = [./lazygit.nix];
|
||||
|
||||
options = {
|
||||
git.enable = lib.mkEnableOption "git";
|
||||
options.myConfig.git = {
|
||||
enable = lib.mkEnableOption "git";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
git.lazygit.enable = lib.mkDefault true;
|
||||
myConfig.git.lazygit.enable = lib.mkDefault true;
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
@ -3,10 +3,10 @@
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.git.lazygit;
|
||||
cfg = config.myConfig.git.lazygit;
|
||||
in {
|
||||
options = {
|
||||
git.lazygit.enable = lib.mkEnableOption "lazygit, a git tui";
|
||||
options.myConfig.git.lazygit = {
|
||||
enable = lib.mkEnableOption "lazygit, a git tui";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
Reference in New Issue
Block a user