git is weird
This commit is contained in:
@@ -7,18 +7,17 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.homeconfig.git.enable {
|
config = lib.mkIf config.homeconfig.git.enable {
|
||||||
|
|
||||||
|
#sops.secrets."git/username" = {};
|
||||||
|
#sops.secrets."git/email" = {};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
/*
|
||||||
userName._secret = if (!config.homeconfig.home-manager.enable) then
|
userName._secret = "${config.sops.secrets."git/username".path}";
|
||||||
config.home-manager.nathan.sops.secrets."git/username"
|
userEmail._secret = "${config.sops.secrets."git/email".path}";
|
||||||
else
|
*/
|
||||||
config.sops.secrets."git/username";
|
userName = "Nathan";
|
||||||
|
userEmail = "nathanblunkall5@gmail.com";
|
||||||
userEmail._secret = if (!config.homeconfig.home-manager.enable) then
|
|
||||||
config.home-manager.nathan.sops.secrets."git/email"
|
|
||||||
else
|
|
||||||
config.sops.secrets."git/email";
|
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init = {
|
init = {
|
||||||
|
|||||||
Reference in New Issue
Block a user