services/nix-ssh-serve: merge into global/nix

This commit is contained in:
Infinidoge 2024-07-26 20:53:37 -04:00
parent efb71f1d86
commit 0c93e1a60c
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 7 additions and 14 deletions

View file

@ -1,13 +0,0 @@
{ config, lib, ... }:
with lib;
{
nix = {
sshServe = {
enable = mkDefault true;
write = true;
keys = config.user.openssh.authorizedKeys.keys;
};
settings.trusted-users = [ "nix-ssh" ];
};
}