fixing out of date options
This commit is contained in:
parent
00932a897a
commit
0ae9ba2b99
2 changed files with 29 additions and 8 deletions
|
|
@ -1,17 +1,38 @@
|
|||
{ pkgs, config, user, homeDirectory, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
# Enable git with home-manager
|
||||
enable = true;
|
||||
userName = "serenity-F";
|
||||
userEmail = "serenity-F@noreply.codeberg.org";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
# Automatically track remote branch
|
||||
settings = {
|
||||
user = {
|
||||
# User details
|
||||
name = "serenity-F";
|
||||
email = "serenity-F@noreply.codeberg.org";
|
||||
# Path to user signing key
|
||||
signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
};
|
||||
|
||||
# Use SSH keys for auth
|
||||
gpg.format = "ssh";
|
||||
commit.gpgSign = true;
|
||||
user.signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
|
||||
# Use "main" as default branch
|
||||
init.defaultBranch = "main";
|
||||
# Automatically track remote branch
|
||||
push.autoSetupRemote = true;
|
||||
|
||||
};
|
||||
|
||||
## OLD SETTINGS
|
||||
#userName = "serenity-F";
|
||||
#userEmail = "serenity-F@noreply.codeberg.org";
|
||||
#extraConfig = {
|
||||
#init.defaultBranch = "main";
|
||||
#gpg.format = "ssh";
|
||||
#commit.gpgSign = true;
|
||||
#user.signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
#push.autoSetupRemote = true;
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ in {
|
|||
|
||||
alpha = {
|
||||
enable = true;
|
||||
layout = [
|
||||
settings.layout = [
|
||||
{
|
||||
type = "padding";
|
||||
val = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue