cloudflared ssh?

This commit is contained in:
2025-08-21 13:22:52 +03:00
parent 3c93af2976
commit 9d3a71f445
2 changed files with 23 additions and 2 deletions

View File

@@ -10,6 +10,27 @@
# gcc. shit breaks. wtf
environment.sessionVariables.LD_LIBRARY_PATH = "${pkgs.gcc15}/lib";
systemd.services.ocbwoy3-start-pm2 = {
enable = true;
description = "Start PM2";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.pm2}/bin/pm2 ping";
User = "ocbwoy3";
Group = "wheel";
Restart = "on-failure";
RestartSec = "5s";
};
};
services.openssh.settings = {
PubkeyAuthentication = "yes";
TrustedUserCAKeys = "/etc/ssh/ca.pub";
};
services.openssh.enable = lib.mkForce true;
environment.systemPackages = with pkgs; [

View File

@@ -13,8 +13,8 @@
settings = {
PDS_CRAWLERS = "https://bsky.network";
LOG_ENABLED = "true";
PDS_HOSTNAME = "pds.darktru.win";
PDS_VERSION = "i use nix btw";
PDS_HOSTNAME = "pds.ocbwoy3.dev";
PDS_VERSION = "\"ATProto PDS v69420\"";
PDS_DID_PLC_URL = "https://plc.directory";
PDS_CONTACT_EMAIL_ADDRESS = "ocbwoy3@ocbwoy3.dev";
PDS_PRIVACY_POLICY_URL = "https://ocbwoy3.dev";