# Table of Contents 1. [magicrb's dotfiles](#org15340a2) 1. [License](#orga7bf945) 1. [Exceptions](#orgd199743) 2. [NixOS](#org316f612) 1. [Modules](#org9ef0afa) # magicrb's dotfiles ## License All files unless otherwise stated are licensed under the LGPL-v3.0 license. Please refer to [COPYING](COPYING) and [COPYING.LESSER](COPYING.LESSER) for more information. ### Exceptions The LGPL-v3.0 does not apply to you copying out a insignificant part of the source code, general rule of thumb is "If it's less than 32 lines and/or doesn't constitute a big self contained part, it's licensed under the MIT license." If you need clarification please contact `@magic_rb:matrix.redalder.org` on matrix. ## NixOS ### Modules 1. `acme-sh` - source code: Modified version of module originally from [Serokell](https://github.com/serokell/serokell.nix/blob/master/modules/acme-sh.nix). It allows to easy fetch and access certificates, facilitated by \`acme-sh\`. Can be used in tandem with any program which can load certificates from files. 2. `grafana` - source code: Very simplified version of module originally from [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/grafana.nix). This module is currently **unused**, **untested**, and may be removed or completely reworked soon. 3. `hashicorp-envoy` - source code: Allows deploying Envoy proxies that can integrate with the Consul Connect service mesh. Used to hook klipper into the rest of my infrastructure. This module is **deprecated** and **will** be removed soon. I'm switching away from Hashicorp Nomad+Consul and towards k3s+Istio and therefore won't have a need for this module. 4. `hashicorp` - source code: Runs Hashicorp Vault, Consul and Nomad. Would probably work with OpenBao too, but this has not yet been tested. 5. `influx-provisioning` - source code: Crudely provisions InfluxDB. This module is **deprecated** and **will** be removed soon. It was originally created when I thought I would be switching away from Terraform completely. Now I know I will be switching to OpenTofu. 6. `netboot-xyz` - source code: Adds `netboot.xyz` to GRUB, supports both EFI and BIOS. Used on my server in case of catastrophic root pool failure. 7. `notify-login` - source code: Send notifications over Matrix, when an SSH session is opened/closed. 8. `notnft` - source code: Alternative implementation of upstream [notnft](https://github.com/chayleaf/notnft) module, which is part of the much larger [nixos-router](https://github.com/chayleaf/nixos-router) repository. 9. `notnft-ns` - source code: Newer implementation of the [notnft](#orgdda3bc4) module, this one supports network namespaces. 10. `telegraf` - source code: Very simplified version of module originally from [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/telegraf.nix). This module is currently **unused**, **untested**, and may be removed or completely reworked soon.