My NixOS configurations.
Based off Tiredofit's configuration
flake.nix: Entrypoint for NixOS configurations.hosts: Host Configurationscommon: Shared configurations consumed by all hosts.secrets: Secrets that are available to all users
<host_a>: "host_a" specific hardware and host configurationsecrets: Secrets that are specific to the 'host_a' host
...: And so on as above with other hosts
lib: Helpers, functions, libraries and timesaversmodules: Modules that are specific to this implementation and allow for toggled configurationapplication: Applications accessible to all users of systemcontainer: Containers using some sort of OCI container enginefeatures: Features such as virtualization, gaming, cross compilationfilesystem: Encryption, impermanence, BTRFS optionshardware: Bluetooth, Printing, Sound, Wirelessnetwork: Firewalls and VPNsservice: Miscellanious daemons
overlays: Ammendments and updates to packages that exist in the nix ecospherepkgs: Custom packages, services, scripts that are specific to this installationusers: Individual User folders
cat /var/lib/zerotier-one/{identity.public,identity.secret}
place contents into hosts/{name}/secrets/zerotier/identity.yaml like so:
zerotier:
identity_public: xxx
identity_private: xxx
encrypt using sops