From 13dfdf01d0e6011f13bb4a24b0893b0935d398de Mon Sep 17 00:00:00 2001 From: Xavier Lagraula Date: Wed, 6 May 2026 22:52:30 +0200 Subject: [PATCH] Remove applciation names from services definition names. --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index aab87c6..afb8242 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,19 @@ ## **🔍 Key Decisions** -| Decision | Justification | Impact | -| ---------------------------------------------------------| ---------------------------------------------------------------------------------| --------------------------------------------------------| -| **No flakes** | Simplify onboarding and avoid a steep learning curve. | Configuration via `configuration.nix` + `callPackage`. | -| **Modular structure** | Separate configurations by machine type and service. | Clear and maintainable directory tree. | +| Decision | Justification | Impact | +| ---------------------------------------------------------| -------------------------------------------------------------------------------------------------------------------------------------------| ----------------------------------------------------------------------------| +| **No flakes** | Simplify onboarding and avoid a steep learning curve. | Configuration via `configuration.nix` + `callPackage`. | +| **Modular structure** | Separate configurations by machine type and service. | Clear and maintainable directory tree. | | **Servers named by service, not by application** | Indicate what the machine does (git01 = Git forge) rather than the software (Gitea). Allows changing the underlying app without renaming. | Hosts under `hosts/servers/01` (e.g. `git01`, `pass01`, `dns01`). | -| **`callPackage` for modules** | Make modules autonomous, portable, and reusable. | Each module is an independent Nix package. | -| **Separation of `user-profiles/` and `users/`** | Distinguish generic roles (e.g., `admin`) from concrete users (e.g., `xavier`). | Flexibility to apply profiles to multiple users. | -| **`deploy.sh` script** | Automate deployment on existing machines. | Clone/update the repo + `nixos-rebuild switch`. | -| **`create-lxc-nixos.sh` script** | Automate the creation of NixOS LXC containers on Proxmox. | Ready-to-use container with initial configuration. | -| **Initial configuration (`initial-configuration.nix`)** | Prepare an LXC container so it can update itself via Git. | Self-sufficient containers. | -| **Secret management with `agenix`** | Encrypt secrets (passwords, keys) for secure storage. | Enhanced security for sensitive data. | -| **Unprivileged LXC containers (`--unprivileged 0`)** | NixOS requires privileges to function correctly in LXC. | Functional containers with NixOS. | -| **IPv4, IPv6, VLAN support** | Final target is IPv6-first, or even IPv6-only. | IP plan management to be designed. | +| **Modules** | Make modules autonomous, portable, and reusable. | Each module is an independent Nix package. | +| **Separation of `user-profiles/` and `users/`** | Distinguish generic roles (e.g., `admin`) from concrete users (e.g., `xavier`). | Flexibility to apply profiles to multiple users. | +| **`deploy.sh` script** | Automate deployment on existing machines. | Clone/update the repo + `nixos-rebuild switch`. | +| **`create-lxc-nixos.sh` script** | Automate the creation of NixOS LXC containers on Proxmox. | Ready-to-use container with initial configuration. | +| **Initial configuration (`initial-configuration.nix`)** | Prepare an LXC container so it can update itself via Git. | Self-sufficient containers. | +| **Secret management with `agenix`** | Encrypt secrets (passwords, keys) for secure storage. | Enhanced security for sensitive data. | +| **Unprivileged LXC containers (`--unprivileged 0`)** | NixOS requires privileges to function correctly in LXC. | Functional containers with NixOS. | +| **IPv4, IPv6, VLAN support** | Final target is IPv6-first, or even IPv6-only. | IP plan management to be designed. | --- @@ -93,7 +93,7 @@ nixos-infra/ │ │ ├── dns/ │ │ │ ├── default.nix # Implementation │ │ │ └── options.nix # Exposed options -│ │ ├── gitea/ +│ │ ├── git-forge/ │ │ │ └── default.nix │ │ ├── password-manager/ │ │ │ └── default.nix