Working proxy implementation for jichan.org
This commit is contained in:
parent
639c7fd352
commit
77ac1db698
12 changed files with 107 additions and 28 deletions
10
hosts/elnudrop/modules/ssh.nix
Normal file
10
hosts/elnudrop/modules/ssh.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ user, ... }:
|
||||
|
||||
let keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQNlGt62dBMojVCX7EUIia+wfSDfLzV4YCPi8SZ2xrp elnu@elnu.com"
|
||||
]; in
|
||||
{
|
||||
services.openssh.enable = true;
|
||||
users.users.root.openssh.authorizedKeys.keys = keys;
|
||||
users.users.${user}.openssh.authorizedKeys.keys = keys;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue