Rename module namespaces

This commit is contained in:
SebastianStork 2024-07-15 20:16:50 +02:00
parent 0dcf8cc292
commit ca1357b2d4
35 changed files with 4 additions and 4 deletions

20
modules/home/git.nix Normal file
View file

@ -0,0 +1,20 @@
{ config, lib, ... }:
{
options.myConfig.git.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.git.enable {
programs.git = {
enable = true;
userName = "SebastianStork";
userEmail = "sebastian.stork@pm.me";
extraConfig.init.defaultBranch = "main";
};
programs.lazygit.enable = true;
sops.secrets.github-ssh-key.path = "${config.home.homeDirectory}/.ssh/github";
programs.ssh = {
enable = true;
matchBlocks."github.com".identityFile = "~/.ssh/github";
};
};
}