Commit Graph

32 Commits

Author SHA1 Message Date
xavier ff9d839609 feat: add placeholder files for common host settings
- Add hosts/default.nix: common settings for all hosts
- Add hosts/servers/default.nix: common settings for all servers
- Add hosts/workstations/default.nix: common settings for all workstations
- Created for production, dev, and stage environments

These files are placeholders for now. Later, common settings can be moved
here to reduce duplication across host configurations.
2026-05-11 11:58:16 +02:00
xavier a00c981ecd refactor: centralize production environment configuration
- Add network/dns.nix, network/time.nix, network/proxy.nix, network/smtp.nix
- Update network/default.nix to import new files
- Update dns01, dns02, rp01 to use centralized DNS parameters
- Update gaia workstation to use centralized time parameters
- Servers use en_US.UTF-8 (set in host configs), workstations use fr_FR.UTF-8

This centralizes environment-specific settings while keeping host-type-specific
settings (like locale) in the host configurations.
2026-05-11 11:47:24 +02:00
xavier 13c3d63785 feat: add centralized environment configuration
- Add dns.nix: environment-specific DNS domain, name servers, forwarders
- Add time.nix: NTP servers (gateway), timezone, hardware clock
- Add proxy.nix: placeholder for future proxy settings (no proxy for now)
- Add smtp.nix: SMTP relay configuration for system emails
- Add default.nix: unified entry point for all network parameters

These files allow environment-specific settings to be managed in one place
and imported by host configurations.
2026-05-11 11:31:41 +02:00
xavier 236e454e22 feat: add dev and stage environment skeletons
- Create environments/dev/ and environments/stage/ with configuration.nix,
  network/, secrets/, and hosts/ directories
- Both environments pin to the same framework commit as production
- Dev and stage subdomains (dev.lagraula.fr, stage.lagraula.fr) ready for
  DNS server configurations when containers are deployed
2026-05-10 22:27:06 +02:00
xavier 5877a51436 docs: update .clinerules to reflect new two-repo structure 2026-05-10 22:23:16 +02:00
xavier 6a2ca62398 refactor: separate framework from production environment
- Create nixos-infra-framework repo with reusable modules, lib, pkgs,
  overlays, scripts, and a sample environment
- Restructure private repo: move hosts/, network/, secrets/, users/
  into environments/production/
- Update all host configs to import from framework repo via fetchGit
- Update deploy.sh with --environment flag (default: production)
- Create hypervisor inventory records (Proxmox, non-NixOS)
- Add environment entry point: environments/production/configuration.nix
- Remove duplicated technical components (now in framework repo)
2026-05-10 20:02:16 +02:00
xavier 0cfdcffc59 Wrote initial configuration for the password manager, the git forge and the dns. 2026-05-09 14:04:16 +02:00
xavier 4d4ac1487c Moved machine-type content to subdirectories. Renamed initial-configuration.nix to intial-lxc-configuration.nix 2026-05-08 23:13:15 +02:00
xavier bd41a33bae Added network management. 2026-05-08 22:26:37 +02:00
xavier 09d2522bfd Fixed typo in .clinrules folder name. Fixed root README.md translation. 2026-05-07 23:52:08 +02:00
xavier dac1336e4c Refreshed and refactored AI rules. 2026-05-07 23:32:24 +02:00
xavier 13dfdf01d0 Remove applciation names from services definition names. 2026-05-06 22:52:30 +02:00
xavier ddf3fdfb53 Renamed services following the same logic as hosts, without reference to the actual applciation. 2026-05-06 22:50:28 +02:00
xavier a3172f477f Servers named by service provided instead of by application. 2026-05-06 22:34:10 +02:00
xavier 834f727882 Named servers by service provided instead of the application used. 2026-05-06 22:32:44 +02:00
xavier bf96cfbee0 First attempt at LXC container deployment chain. 2026-05-06 21:19:13 +02:00
xavier 7fd43cf252 Removed useless artifact (create-lxc.sh and some folders). Removed references to nix-sops. 2026-05-06 18:18:13 +02:00
xavier 2adbe4751d Created/update all README.md files. 2026-05-06 17:13:19 +02:00
xavier 23c22c4bc6 Added AI rules file, apkgs folder, update-nixpkgs.sh script. Updated documentation. 2026-05-03 10:56:03 +02:00
xavier 6e0e86b17a Refactored parameters handling. Removed useless SSH password parameter. 2026-05-01 16:00:02 +02:00
xavier ff60f331fd Properly handle the lack of "shot name" parameter. 2026-05-01 09:43:36 +02:00
xavier d960f1d85e Merge branch 'main' of ssh://gitea.prod.lagraula.fr:2222/xavier/nixos-infra 2026-04-30 23:00:45 +02:00
xavier fa89794207 Typo in README.md. 2026-04-30 22:07:40 +02:00
xavier 0ad90d81d6 Adding --ssh-public-keys parameter to secure initial deployment. 2026-04-30 17:03:38 +02:00
xavier fa4808f34d Added the console mode (default to "console") and dry run options. 2026-04-30 14:00:48 +02:00
xavier f1ddf089e1 Translated to english for an international audience. 2026-04-30 13:05:18 +02:00
xavier 56a0326d9d Add SSH key authentication to proxmox. Not tested yet. 2026-04-30 13:00:00 +02:00
xavier e78b3631ce First iteration. Not tested yet. 2026-04-30 10:54:49 +02:00
xavier 2001379577 Initial scripts for a LXC container and for a reverse proxy improved. Not yet ready to test. 2026-04-29 21:52:32 +02:00
xavier c1864fdb9c Draft of nix files for a reverse proxy and of deployment scripts. Not tested, not functional. 2026-04-29 20:15:30 +02:00
xavier 10399460f4 Init Nix files tree structure according to canvas in README.md.
README.md was initialized using Le Chat and needs be reviewed, amended.
2026-04-28 23:06:11 +02:00
xavier 7aa8aea393 Initial commit 2026-04-28 19:52:52 +02:00