fix: forgejo intranet ssh
This commit is contained in:
parent
40c0faaffa
commit
79a8dda40f
5 changed files with 51 additions and 27 deletions
|
|
@ -1,24 +0,0 @@
|
|||
{...}: {
|
||||
flake.homeModules.gitConfiguration = {osConfig, ...}: {
|
||||
impermanence.fallbackPersistence.enable = false;
|
||||
|
||||
home = {
|
||||
username = osConfig.users.users.git.name;
|
||||
homeDirectory = osConfig.users.users.git.home;
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
#
|
||||
# You should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
stateVersion = "23.11"; # Please read the comment before changing.
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
AuthorizedKeysFile
|
||||
/var/lib/forgejo/.ssh/authorized_keys
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue