add overlay to lock vscode version, git config into symlink
This commit is contained in:
13 files changed
+156
-102
No files matched your search
+13
-25
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user