Clean up system.org a bit.

This commit is contained in:
Gabriel Simmer 2021-10-09 17:52:37 +01:00
parent f489d191df
commit feb0a180da

View file

@ -177,6 +177,16 @@ the NixOS to seperate out the specific-to-my-current-hardware configuration.
I have two Raspberry Pis - a 3B+ ("watcher"), and a 4 ("panda"). Watcher I have two Raspberry Pis - a 3B+ ("watcher"), and a 4 ("panda"). Watcher
serves as a watchdog for my self hosted services, usually living on Panda. serves as a watchdog for my self hosted services, usually living on Panda.
*** The Installer Image
Very minimal changes required here, only really need to enabled the SSH daemon
and add my key so I can push the actual configuration.
I might investigate bundling the "real" configurations into the live installer
image, so I have to run fewer commands.
[[https://nixos.wiki/wiki/NixOS_on_ARM#Getting_the_installer][More info on the NixOS Wiki]]
#+begin_src nix :tangle nix/image-configuration.nix #+begin_src nix :tangle nix/image-configuration.nix
{ ... }: { { ... }: {
imports = [ imports = [
@ -201,10 +211,10 @@ the NixOS to seperate out the specific-to-my-current-hardware configuration.
Watcher is my Raspberry Pi 3B+ responsible for monitoring various Watcher is my Raspberry Pi 3B+ responsible for monitoring various
services and devices on my network (and generally the wider web). services and devices on my network (and generally the wider web).
It uses [[https://github.com/gmemstr/platypus][Platypus]] (my custom monitoring platform) for this, along It uses [[https://github.com/gmemstr/platypus][Platypus]] (my custom monitoring platform) for this, along
with some cron jobs. with some cron jobs to curl the services themselves.
Watcher requires a few things; it monitors my various self-hosted Actually declaractive install of Platypus is TODO, once I have the
services, and reports these to a self hosted Platypus instance. next release tagged.
#+begin_src nix :tangle nix/watcher-configuration.nix #+begin_src nix :tangle nix/watcher-configuration.nix
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
@ -260,6 +270,9 @@ the NixOS to seperate out the specific-to-my-current-hardware configuration.
Panda is a general-purpose Raspberry Pi 4, responsible for hosting Panda is a general-purpose Raspberry Pi 4, responsible for hosting
some network shares and my password manager (using [[https://github.com/dani-garcia/vaultwarden][Vaultwarden]]). some network shares and my password manager (using [[https://github.com/dani-garcia/vaultwarden][Vaultwarden]]).
Largely TODO, this currently runs Raspbian until I'm happy with my
testbed.
#+begin_src nix :tangle nix/panda-configuration.nix #+begin_src nix :tangle nix/panda-configuration.nix
{ ... }: { { ... }: {
imports = [ imports = [