Commit Graph

388 Commits

Author SHA1 Message Date
Motiejus Jakštys 407024dfa9 zfsunlock: use IP addresses + zfsunlock 2023-08-22 14:14:20 +03:00
Motiejus Jakštys 8bd3af3878 tmux 2023-08-18 23:49:49 +03:00
Motiejus Jakštys 4f337fe8c0 configure nvim system-wide 2023-08-18 23:33:56 +03:00
Motiejus Jakštys 1522a5284e neovim: default editor 2023-08-18 21:45:38 +03:00
Motiejus Jakštys a9ab4b4514 re-enabling vim 2023-08-18 19:07:52 +03:00
Motiejus Jakštys 7063b1d84e vim nitpicks 2023-08-18 18:50:39 +03:00
Motiejus Jakštys 74b19c049b remove some old leftovers from vimrc 2023-08-18 18:44:21 +03:00
Motiejus Jakštys e1378a3617 start with vim 2023-08-18 18:43:34 +03:00
Motiejus Jakštys 3be112cc46 home-manager: use global pkgs 2023-08-18 16:30:26 +03:00
Motiejus Jakštys 47453cdfe1 home-manager/motiejus: add very basic test configs 2023-08-18 16:26:00 +03:00
Motiejus Jakštys bbf562d205 move node_exporter to its own module 2023-08-18 09:32:01 +03:00
Motiejus Jakštys 4dee4159e7 nix --accept-flake-config 2023-08-16 20:26:37 +03:00
Motiejus Jakštys b4ac54d9a7 install perf-tools 2023-08-16 00:04:38 +03:00
Motiejus Jakštys 4354cde55e vno1-rp3b 2023-08-15 07:18:26 +03:00
Motiejus Jakštys 98a4ad79f8 grafana now on https://grafana.jakstys.lt, over vpn 2023-08-14 09:04:09 +03:00
Motiejus Jakštys a2a741d27e fmt and formatting; nsd-acme is less verbose 2023-08-10 10:48:34 +03:00
Motiejus Jakštys fa435f65d0 zones don't need to be sanitized
it's DNS!
2023-08-10 10:46:06 +03:00
Motiejus Jakštys 7bedc09abb deployerbot: do not restart if changed
leads to interesting deadlocks when upgrading self
2023-08-10 10:40:07 +03:00
Motiejus Jakštys 4878c42ca9 cron + alerting for cert updates 2023-08-10 00:46:36 +03:00
Motiejus Jakštys 9059f84632 uacme can return 1 when cert is up to date 2023-08-10 00:37:21 +03:00
Motiejus Jakštys 76a748e086 grafana is now prod 2023-08-10 00:29:56 +03:00
Motiejus Jakštys 98816538d2 trying grafana1 2023-08-10 00:24:36 +03:00
Motiejus Jakštys 69e6734eb7 nsd-acme: misc fixes 2023-08-09 15:55:05 +03:00
Motiejus Jakštys 9a456192af nsd-acme 2023-08-09 15:34:44 +03:00
Motiejus Jakštys 3e66f95668 zfsunlock nitpick 2023-08-09 14:26:49 +03:00
Motiejus Jakštys 9a7e42b95d nsd: ConditionPathExists all files 2023-08-07 14:50:32 +03:00
Motiejus Jakštys 5ae9886929 deployerbot: set PATH in systemd service definition 2023-08-07 14:39:38 +03:00
Motiejus Jakštys c8525b4e6b node_exporter on hel1-a 2023-08-06 01:00:02 +03:00
Motiejus Jakštys 665e79a984 prometheus: beginnings 2023-08-05 18:32:28 +03:00
Motiejus Jakštys f4e04faef3 friendlyport 2023-08-05 18:18:30 +03:00
Motiejus Jakštys 43d6d25dd0 sysdig: enable everywhere 2023-08-05 17:27:13 +03:00
Motiejus Jakštys cf6eeb6f29 deployerbot: start action at 23:30 UTC
According to 'nixos infra status' finding a good time of day to run the
updates for nixos release non-small is futile.
2023-08-02 15:41:07 +03:00
Motiejus Jakštys 07921f1eaa nix flake update: schedule at 16:00 UTC 2023-08-01 14:24:32 +03:00
Motiejus Jakštys 7a224096ba set PATH once 2023-07-30 09:01:27 +03:00
Motiejus Jakštys c99adbbaa1 bring back exec 2023-07-30 08:59:58 +03:00
Motiejus Jakštys d536eb5656 set OLD_PATH once 2023-07-30 08:56:38 +03:00
Motiejus Jakštys afd7743f37 deployerbot: push after a successful deploy 2023-07-30 08:53:19 +03:00
Motiejus Jakštys 482f01bb01 deployer: set -x 2023-07-30 07:36:12 +03:00
Motiejus Jakštys 36bbceac03 limit deployerbot-follower to our vpn 2023-07-30 07:23:43 +03:00
Motiejus Jakštys d1b19e6cf6 deployerbot: do not set -x 2023-07-30 07:00:10 +03:00
Motiejus Jakštys a9e8904d28 add deployerbot-follower to trusted users 2023-07-30 06:55:04 +03:00
Motiejus Jakštys ef050725c1 deploy-rs can deploy multiple targets with --targets 2023-07-30 06:50:06 +03:00
Motiejus Jakštys 69ee6c9caa add comment re calendar time 2023-07-30 06:45:54 +03:00
Motiejus Jakštys f18a2ff855 deploy updates regularly 2023-07-30 06:41:13 +03:00
Motiejus Jakštys 9de5120cc3 updaterbot: move all to deployer 2023-07-30 06:30:52 +03:00
Motiejus Jakštys 9e0bd48a22 clean up old paths -- untested 2023-07-28 16:15:59 +03:00
Motiejus Jakštys 49b9cc8351 vno1-oh2: enable deployerbot master 2023-07-28 16:09:41 +03:00
Motiejus Jakštys bff8cef210 fixes in deployment script 2023-07-28 15:55:16 +03:00
Motiejus Jakštys e588514c07 updater 2023-07-28 15:43:23 +03:00
Motiejus Jakštys a030ae0879 fix syntax error 2023-07-28 14:25:36 +03:00
Motiejus Jakštys 579f21b0d1 hel1-a: make initrd consistent with vno1-oh2 2023-07-28 14:25:14 +03:00
Motiejus Jakštys bddb20cd13 updater: move to it's own service 2023-07-28 14:22:40 +03:00
Motiejus Jakštys e9c8320f72 unitstatus: unit status cmd is more robust 2023-07-28 14:04:26 +03:00
Motiejus Jakštys 3237810611 unitstatus: remove escaping
Otherwise:

    Invalid unit name "borgbackup/job//home" escaped as "borgbackup-job--home" (maybe you should use systemd-escape?).
2023-07-28 13:56:52 +03:00
Motiejus Jakštys 45724064d1 add M-R 2023-07-28 09:10:40 +03:00
Motiejus Jakštys 89f7838c93 add Irenos folder 2023-07-26 22:24:51 +03:00
Motiejus Jakštys 0677c8eb2a a few network traffic observability programs 2023-07-26 15:42:10 +03:00
Motiejus Jakštys 8cecf18f43 mount zfs snapshots read-only 2023-07-26 15:36:11 +03:00
Motiejus Jakštys 4522af453b start/stop firewall commands 2023-07-26 15:14:12 +03:00
Motiejus Jakštys ab11ee31f2 vno1-oh2: pass ssh key to borg 2023-07-26 14:49:34 +03:00
Motiejus Jakštys bb5ae6d2f7 sshguard: whitelist all known public ips 2023-07-26 14:17:14 +03:00
Motiejus Jakštys 99488618ce enable sshguard and plocate 2023-07-26 14:12:09 +03:00
Motiejus Jakštys cff18bfb8f move common zfs settings to modules/base 2023-07-26 14:01:57 +03:00
Motiejus Jakštys d4527c24a6 mailutils comes with postfix 2023-07-26 13:32:03 +03:00
Motiejus Jakštys bac191ef2f postfix: add to vno1-oh2 2023-07-26 13:27:15 +03:00
Motiejus Jakštys bccefbc4ba split backup dirs to their repos 2023-07-26 12:59:19 +03:00
Motiejus Jakštys 4f1aa85659 syncthing 2023-07-26 12:55:15 +03:00
Motiejus Jakštys 77c40d676d add sysstat 2023-07-26 11:09:52 +03:00
Motiejus Jakštys 9cf3ed3185 add procps 2023-07-26 11:06:28 +03:00
Motiejus Jakštys 71fd71cb6b vno1-oh2: add updaterbot 2023-07-24 16:46:35 +03:00
Motiejus Jakštys 8b673d25af change initrd pubkey of vno1-oh2 2023-07-24 16:46:35 +03:00
Motiejus Jakštys f5d3249fa0 add en_US.UTF-8/UTF-8 locale 2023-07-24 12:47:41 +03:00
Motiejus Jakštys 4611c08d4f cleanup ips; nix fmt 2023-07-24 12:36:34 +03:00
Motiejus Jakštys c2249cebb1 zfsunlock: quiet diagnostics 2023-07-24 10:38:29 +03:00
Motiejus Jakštys 679226b60f zfsunlock 2023-07-24 10:31:29 +03:00
Motiejus Jakštys 6c9cb09a6f root unlocking is more restrictive
akin to asking for a password
2023-07-23 16:05:07 +03:00
Motiejus Jakštys dd60e07a14 wip more intitrd unlockers 2023-07-23 15:24:38 +03:00
Motiejus Jakštys b529dd5c5c make host pubkeys reachable via myData 2023-07-23 15:10:22 +03:00
Motiejus Jakštys f4446cb506 wip vno1-oh2 2023-07-22 16:51:34 +03:00
Motiejus Jakštys 28d12ab379 small cleanup 2023-07-20 15:04:50 +03:00
Motiejus Jakštys 5313a3ffeb users and passwords 2023-07-20 15:02:38 +03:00
Motiejus Jakštys 16a8eff543 small cleanup 2023-07-20 11:56:37 +03:00
Motiejus Jakštys 0f1d12cb34 unitstatus: pre-defined service units now exist 2023-07-20 10:25:53 +03:00
Motiejus Jakštys 1bfd201028 add unitstatus
with some TODOs
2023-07-20 06:58:47 +03:00
Motiejus Jakštys 9b090ff8ae zfsborg 2023-07-20 05:47:21 +03:00
Motiejus Jakštys 97f720558d base/snapshot: move sanoid there 2023-07-18 16:32:45 +03:00
Motiejus Jakštys 46e2d86918 wip snapshots 2023-07-18 12:31:48 +03:00
Motiejus Jakštys 26747bd639 flakes 2023-07-18 11:27:59 +03:00