add overlay to lock vscode version, git config into symlink

This commit is contained in:
greyweather committed 2026-09-07 00:49:50 +01:00
1 parent 846be90bda
commit 237582057e
13 files changed
+156 -102

No files matched your search

+13 -25
View File
@@ -29,19 +29,11 @@
homeDirectory = "/home/${config.home.username}";
file = inputs.helpers.localBinFromStringAttrs config.features.applications.shellScripts;
};
programs.sftpman = lib.mkIf (config.info.hostName != "sakamoto") {
enable = true;
mounts = {
sakamoto = {
host = "sakamoto";
mountDestPath = "/home/grey/mounts/ssh/sakamoto";
mountPoint = "/";
sshKey = "/home/grey/.ssh/id_sakamoto";
user = "grey";
};
};
activation.linkGitConfig = lib.hm.dag.entryAfter ["writeBoundary"] (inputs.helpers.mkSymlinkActivationScript {
target = "${config.home.homeDirectory}/.gitconfig";
source = "${config.info.rootPath}/dotfiles/shared/git.conf";
});
};
targets.genericLinux.enable = config.info.isStandalone;
@@ -60,20 +52,16 @@
services.gnome-keyring.enable = config.info.isStandalone;
programs = {
git = {
sftpman = lib.mkIf (config.info.hostName != "sakamoto") {
enable = true;
lfs.enable = true;
settings = {
user.name = "Grey Jones";
user.email = "grey@greyweather.dev";
};
signing = {
format = "openpgp";
key = "CC7388DF8E1890729921BCFF7C67C51C2FF524D9";
signByDefault = true;
mounts = {
sakamoto = {
host = "sakamoto";
mountDestPath = "/home/grey/mounts/ssh/sakamoto";
mountPoint = "/";
sshKey = "/home/grey/.ssh/id_sakamoto";
user = "grey";
};
};
};