organisation + move config for all devices to 'global' counterparts

This commit is contained in:
greyweather committed 2026-07-04 20:36:27 +01:00
1 parent f73926592f
commit be100cfe97
10 files changed
+245 -114

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
{
config,
pkgs,
...
}: {
home.username = "grey";
home.homeDirectory = "/home/grey";
home.stateVersion = system.stateVersion;
programs.git = {
enable = true;
lfs.enable = true;
settings = {
user.name = "Grey Jones";
user.email = "grey@greyweather.dev";
};
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";
};
"github.com" = {
HostName = "github.com";
Port = 22;
User = "git";
IdentityFile = "~/.ssh/id_github";
}
};
};
home.shell.enableBashIntegration = true;
}