mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: clean up the repo
This commit is contained in:
parent
bc9c310c77
commit
f6ec9f37eb
249 changed files with 804 additions and 13048 deletions
|
|
@ -1,28 +1,24 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
networks = genAttrs [ "chitei" "gensokyo" ] (_: {
|
||||
# Mosh
|
||||
tcp = [62954];
|
||||
udp = [ [60000 61000] ];
|
||||
});
|
||||
|
||||
/*
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
/*
|
||||
security.pam.services.sshd.text = mkDefault (mkAfter ''
|
||||
session required pam_exec.so ${katnotify}/bin/notify
|
||||
'');
|
||||
*/
|
||||
*/
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = lib.mkDefault [ 62954 ];
|
||||
ports = lib.mkDefault [62954];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = lib.mkDefault "prohibit-password";
|
||||
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
KexAlgorithms = ["curve25519-sha256@libssh.org"];
|
||||
PubkeyAcceptedAlgorithms = "+ssh-rsa";
|
||||
StreamLocalBindUnlink = "yes";
|
||||
LogLevel = "VERBOSE";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue