Commit Graph

110 Commits

Author SHA1 Message Date
Motiejus Jakštys 95c4f94a25 certget 2023-09-23 22:56:43 +03:00
Motiejus Jakštys 70e5230611 system users: use /bin/sh
Just learned about "bash security issue" when reading about rrsync.
2023-09-23 22:46:14 +03:00
Motiejus Jakštys 3b1d1b439f more formatting 2023-09-23 22:29:50 +03:00
Motiejus Jakštys 92f69eabfa nsd-acme: optionalString 2023-09-23 22:28:27 +03:00
Motiejus Jakštys 46155b9cb8 cfg cosmetics 2023-09-23 22:25:58 +03:00
Motiejus Jakštys 397fcd4a44 jakstpub: nicer smb settings 2023-09-22 10:14:10 +03:00
Motiejus Jakštys 9c1bfd1b24 add a share for snapshots 2023-09-22 10:06:04 +03:00
Motiejus Jakštys 0507fb3328 deployerbot and backups: move time around so they don't ovelap 2023-09-21 06:55:17 +03:00
Motiejus Jakštys 21e96199bb deployerbot: use vpn for actual deploying anyway 2023-09-20 14:43:04 +03:00
Motiejus Jakštys 4973a1cdd4 deployerbot: fwminex allows vno1 2023-09-18 20:49:17 +03:00
Motiejus Jakštys ceb7fe191e ping 2023-09-18 20:32:22 +03:00
Motiejus Jakštys 5a5ffd6f00 upgrading fwminex too 2023-09-18 19:50:24 +03:00
Motiejus Jakštys c822cc95c2 node_exporter: enable on vno1 subnet 2023-09-18 19:29:27 +03:00
Motiejus Jakštys 40a1edb925 syncthing: do not share books with mxp10 2023-09-18 13:31:32 +03:00
Motiejus Jakštys 4740904244 syncthing host missing 2023-09-18 12:48:22 +03:00
Motiejus Jakštys 5a1745b6d9 add some hosts 2023-09-18 12:47:51 +03:00
Motiejus Jakštys 0802e17eb1 nix fmt 2023-09-18 12:46:46 +03:00
Motiejus Jakštys 031e85fa82 syncthing: more folders 2023-09-18 12:44:09 +03:00
Motiejus Jakštys e6a47f4420 syncthing: a few more folders 2023-09-18 12:38:17 +03:00
Motiejus Jakštys 52b1aa4450 syncthing: starting abstractions 2023-09-18 12:13:45 +03:00
Motiejus Jakštys a9ec83c732 fwminex: start syncthing 2023-09-18 12:07:41 +03:00
Motiejus Jakštys c84d618d97 jakstpub: fix a caddy error 2023-09-17 22:31:12 +03:00
Motiejus Jakštys ed8c51b45c syntax nitpicking 2023-09-17 22:16:11 +03:00
Motiejus Jakštys f38fd993d3 jakstpub: open up http 2023-09-17 22:13:33 +03:00
Motiejus Jakštys 0f9aa4ed0d deploy-rs: remove -- 2023-09-16 10:04:48 +03:00
Motiejus Jakštys a5d8ba9cdf deploy-rs: fix typo 2023-09-16 09:35:12 +03:00
Motiejus Jakštys fb4b54b24b deployerbot: use deploy-rs directly 2023-09-16 08:56:22 +03:00
Motiejus Jakštys b38c4013e7 cosmetics: quoting
it's fine, there is overrides.conf
2023-09-14 15:15:27 +03:00
Motiejus Jakštys b73f671bc0 silenceLogs is not picked up
Result:
$ cat result/etc/systemd/system/tailscaled.service
[Unit]
Description=Tailscale node agent
Documentation=https://tailscale.com/kb/
Wants=network-pre.target
After=network-pre.target NetworkManager.service systemd-resolved.service

[Service]
ExecStartPre=/nix/store/gr38ww9sj0qbcs8sb17iq9871qvmhfjw-tailscale-1.42.0/bin/tailscaled --cleanup
ExecStart=/nix/store/gr38ww9sj0qbcs8sb17iq9871qvmhfjw-tailscale-1.42.0/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=
ExecStopPost=/nix/store/gr38ww9sj0qbcs8sb17iq9871qvmhfjw-tailscale-1.42.0/bin/tailscaled --cleanup

Restart=on-failure

RuntimeDirectory=tailscale
RuntimeDirectoryMode=0755
StateDirectory=tailscale
StateDirectoryMode=0700
CacheDirectory=tailscale
CacheDirectoryMode=0750
Type=notify

[Install]
WantedBy=multi-user.target
2023-09-14 15:10:18 +03:00
Motiejus Jakštys 76c07129f3 re-add () 2023-09-14 14:51:36 +03:00
Motiejus Jakštys fb3c39d7dc re-enable tailscale, oops 2023-09-14 14:48:54 +03:00
Motiejus Jakštys 9eb8147660 tailscale: silence logs on some machines 2023-09-14 14:37:55 +03:00
Motiejus Jakštys 553cda8fc7 vno1-rp3b: enable vno3 2023-09-14 13:23:04 +03:00
Motiejus Jakštys 85917635fd sshguard is now optional 2023-09-14 06:41:16 +03:00
Motiejus Jakštys e12e139128 samba: make file/dir masks a bit more restrictive 2023-09-13 09:00:28 +03:00
Motiejus Jakštys 4f152205ce samba: log level = 0 2023-09-12 23:27:23 +03:00
Motiejus Jakštys bef137b967 wsdd: specify existing hostname 2023-09-12 23:18:46 +03:00
Motiejus Jakštys 53ce3910aa replace nmbd with wsdd
https://askubuntu.com/questions/661611/make-samba-share-visible-in-windows-network
2023-09-12 23:10:59 +03:00
Motiejus Jakštys e45573c8a6 fix samba config
works!
2023-09-12 22:55:17 +03:00
Motiejus Jakštys 4f45d605e1 vno1-rp3b: some attempts at samba 2023-09-12 17:44:17 +03:00
Motiejus Jakštys 7891663a65 jakstpub: change home dir to /var/empty 2023-09-12 17:27:11 +03:00
Motiejus Jakštys 2dd8cda85a open up samba 2023-09-12 16:08:32 +03:00
Motiejus Jakštys e61944dfde rewrite firewall rules 2023-09-12 15:46:44 +03:00
Motiejus Jakštys 2b5b9bc57f samba some progress 2023-09-12 13:31:46 +03:00
Motiejus Jakštys 866347b042 add borgstor 2023-09-11 15:51:33 +03:00
Motiejus Jakštys 377030d0c0 headscale: remove ipv6 subnet
it's confusing: I couldn't find an easy way to get the ipv4 address on a client
2023-09-11 14:37:05 +03:00
Motiejus Jakštys 20ccb666c8 smtp 2023-09-07 19:46:47 +03:00
Motiejus Jakštys fd9f30f7d4 snmp exporter: maybe exposing the file will work now? 2023-09-05 14:58:30 +03:00
Motiejus Jakštys 24e6aa333e snmp exporter: expose in vpn for all to see 2023-09-05 14:45:09 +03:00
Motiejus Jakštys 5c1cccb8a4 snmp: from package back to module 2023-09-05 14:41:52 +03:00