feat: clean up the repo

This commit is contained in:
Kat Inskip 2023-04-29 12:00:58 -07:00
parent bc9c310c77
commit f6ec9f37eb
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
249 changed files with 804 additions and 13048 deletions

View file

@ -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";