File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ An example of a NixOS module for simple git configuration:
110110
111111``` nix
112112{lib, config, ...}: {
113- options.programs.git = {
113+ options.myconfig. programs.git = {
114114 enable = lib.mkEnableOption "git" // {default = true;};
115115 };
116116
117- config = lib.mkIf config.programs.git.enable {
117+ config = lib.mkIf config.myconfig. programs.git.enable {
118118 programs.git = {
119119 enable = true;
120120 lfs.enable = true;
Original file line number Diff line number Diff line change @@ -109,11 +109,11 @@ delib.module {
109109
110110``` nix
111111{lib, config, ...}: {
112- options.programs.git = {
112+ options.myconfig. programs.git = {
113113 enable = lib.mkEnableOption "git" // {default = true;};
114114 };
115115
116- config = lib.mkIf config.programs.git.enable {
116+ config = lib.mkIf config.myconfig. programs.git.enable {
117117 programs.git = {
118118 enable = true;
119119 lfs.enable = true;
You can’t perform that action at this time.
0 commit comments