wrap agenix, server changes
This commit is contained in:
parent
c548d24239
commit
b4cc4eab4d
6 changed files with 14 additions and 6 deletions
|
@ -1,10 +1,7 @@
|
|||
{
|
||||
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
knownHosts.quadraticpc.publicKeyFile = builtins.fetchurl {
|
||||
url = "https://github.com/Henry-Hiles.keys";
|
||||
sha256 = "1k73c228rgzq7ymf5vaj6wfqzkqm6yzq5lq0syb7mzbrvngvr2jc";
|
||||
};
|
||||
settings = {
|
||||
PasswordAuthentication = true; # TODO: False
|
||||
AllowUsers = ["quadradical"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue