mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
a bunch of code cleanup
This commit is contained in:
parent
977d1ad6d2
commit
016a347d5e
19 changed files with 92 additions and 100 deletions
|
|
@ -4,17 +4,16 @@ _: {
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
cfg = config.localModules.git;
|
||||
in {
|
||||
options.localModules.git = {
|
||||
disable = mkOption {
|
||||
type = types.bool;
|
||||
disable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
config = mkIf (! cfg.disable) {
|
||||
config = lib.mkIf (! cfg.disable) {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitMinimal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue