Large change on folder structure AND used of import-tree.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.shell.git;
|
||||
in
|
||||
{
|
||||
options.os.shell.git = {
|
||||
enable = mkEnableOption "System git service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
init.defaultBranch = "main";
|
||||
user = {
|
||||
name = "Laurent Gueret";
|
||||
email = "gueretlob@icloud.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh.enableAskPassword = false;
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user