git, gpg and ssh configs

This commit is contained in:
greyweather committed 2026-07-02 21:26:54 +01:00
1 parent 041ea0528f
commit 9d4b49bbd9
2 files changed
+33 -6

No files matched your search

+3 -4
View File
@@ -84,10 +84,9 @@
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
# programs.gnupg.agent = { programs.gnupg.agent = {
# enable = true; enable = true;
# enableSSHSupport = true; };
# };
# List services that you want to enable: # List services that you want to enable:
+30 -2
View File
@@ -20,10 +20,38 @@
pkgs.vscode pkgs.vscode
]; ];
programs.git.settings = { programs.git = {
enable = true; enable = true;
settings = {
user.name = "Grey Jones"; user.name = "Grey Jones";
user.email = "grey@greyweather.dev"; user.email = "grey@greyweather.dev";
#user.signingkey = "CC7388DF8E1890729921BCFF7C67C51C2FF524D9";
#commits.gpgsign = true;
};
signing = {
format = "openpgp";
key = "CC7388DF8E1890729921BCFF7C67C51C2FF524D9";
signByDefault = true;
};
};
programs.gpg = {
enable = true;
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
settings = {
"git.greyweather.dev" = {
HostName = "git.greyweather.dev";
Port = "222";
User = "git";
IdentityFile = "~/.ssh/id_gitea";
};
};
}; };
programs.plasma = { programs.plasma = {
@@ -39,7 +67,7 @@
shortcuts = { shortcuts = {
plasmashell = { plasmashell = {
"Show Activity Switcher" = "none"; "Show Activity Switcher" = "";
}; };
kwin = { kwin = {