mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
cleaned up a whole bunch
This commit is contained in:
parent
2f04dc0e23
commit
a959cf3e97
17 changed files with 199 additions and 220 deletions
|
|
@ -3,16 +3,13 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.localModules.git;
|
||||
in {
|
||||
options.localModules.git = {
|
||||
disable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
}: {
|
||||
options.localModules.git.disable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
config = lib.mkIf (! cfg.disable) {
|
||||
|
||||
config = lib.mkIf (! config.localModules.git.disable) {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitMinimal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue