mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 17:44:08 +09:00
23 lines
438 B
Nix
23 lines
438 B
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.auth-keys-hub.nixosModules.auth-keys-hub
|
|
];
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
PubkeyAuthentication = "yes";
|
|
};
|
|
};
|
|
|
|
programs.auth-keys-hub = {
|
|
enable = true;
|
|
github.users = [ "moons-14:moons" ];
|
|
};
|
|
}
|