mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
home-manager-modules/git: added default branch
This commit is contained in:
parent
591a55299d
commit
b66fc3cfcf
1 changed files with 6 additions and 5 deletions
|
@ -17,14 +17,15 @@ with lib;
|
|||
signByDefault = true;
|
||||
key = "6FC74C847011FD83";
|
||||
};
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
home.extraActivationPath = [ pkgs.gnupg ];
|
||||
home.activation =
|
||||
{
|
||||
myActivationAction = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
home.activation =
|
||||
{
|
||||
myActivationAction = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
gpg --import /run/secrets/git-gpg-private-key
|
||||
'';
|
||||
};
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue