nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 48df705274d2995759e4ddb384e89fffb37bb9c3
parent 108c4ddb625d0e845fc51779db4efd0e091b4550
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Tue,  5 Aug 2025 14:30:44 +0100

Add artemis to syncthing and ssh config

Diffstat:
Mcommon/syncthing.nix | 7++++---
Mhome/ssh.nix | 6++++++
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/common/syncthing.nix b/common/syncthing.nix @@ -16,17 +16,18 @@ nas.id = "FONKXV6-BQFMLNT-6OHTKXG-CP7DOZP-M5ZA6GW-5WAN4L6-X3LEANG-7EC5WQ6"; phone.id = "7M34AP7-VLSE6A4-UX24I72-VDXCBSW-BGXHSUF-OF6UQQL-7QK4IFW-5F5M3QH"; server.id = "TJV7YEI-GYLINDA-6YYHJW7-TLV6XUY-LJEJWSV-AEZ6NKE-BFLX4KB-BJ5DNAH"; + artemis.id = "2TVL2S3-PLNFGFB-Y2BJHSK-4GONJGK-FVLJ5QD-WPDHFF2-D5KTUMB-3PPXLQD"; }; folders = { "/home/${username}/vault" = { label = "vault"; id = "vault"; - devices = [ "desktop" "htpc" "laptop" "nas" "phone" "server" ]; + devices = [ "desktop" "htpc" "laptop" "nas" "phone" "server" "artemis" ]; }; }; }; }; - + # https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes boot.kernel.sysctl."net.core.rmem_max" = 7500000; boot.kernel.sysctl."net.core.wmem_max" = 7500000; @@ -38,4 +39,4 @@ networking.firewall.allowedTCPPorts = [ 22000 ]; networking.firewall.allowedUDPPorts = [ 22000 21027 ]; -} +} diff --git a/home/ssh.nix b/home/ssh.nix @@ -46,6 +46,12 @@ HostKeyAlgorithms = "+ssh-rsa"; }; }; + "artemis" = { + hostname = "artemis.${domain}"; + user = "${username}"; + port = sshport; + identityFile = "~/vault/docs/secure/ssh-key-2022-02-16.key"; + }; }; };