fixing out of date options

This commit is contained in:
serenity-F 2026-03-02 17:04:46 +10:00
parent 00932a897a
commit 0ae9ba2b99
No known key found for this signature in database
2 changed files with 29 additions and 8 deletions

View file

@ -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;
#};
};
}

View file

@ -108,7 +108,7 @@ in {
alpha = {
enable = true;
layout = [
settings.layout = [
{
type = "padding";
val = 4;