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 = {
|
programs.git = {
|
||||||
|
# Enable git with home-manager
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "serenity-F";
|
settings = {
|
||||||
userEmail = "serenity-F@noreply.codeberg.org";
|
user = {
|
||||||
extraConfig = {
|
# User details
|
||||||
init.defaultBranch = "main";
|
name = "serenity-F";
|
||||||
# Automatically track remote branch
|
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";
|
gpg.format = "ssh";
|
||||||
commit.gpgSign = true;
|
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;
|
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 = {
|
alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = [
|
settings.layout = [
|
||||||
{
|
{
|
||||||
type = "padding";
|
type = "padding";
|
||||||
val = 4;
|
val = 4;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue