-
Notifications
You must be signed in to change notification settings - Fork 0
Home Configuration Autoconf Flow (Step by Step)
Hamzaukw edited this page Sep 8, 2025
·
1 revision
ansible/inventory/hosts.iniansible/inventory/group_vars/group_home_*.ymlansible/inventory/host_vars/home/<host>.yml
-
Function:
home_etl() -
File:
lx_administration/autoconf/imports/main.py - Merges host and group home variables
- Validates using
MergedHostVarsmodel - Outputs to:
autoconf/home_merged_vars/<host>.yml
-
Function:
home_pipe() -
File:
lx_administration/autoconf/nix/home.py - Loads merged YAML from
home_merged_vars - Gets platform via:
get_host_platform() - Gets users via:
system_users - Calls:
prepare_home_config()
-
Function:
prepare_home_config() -
File:
lx_administration/models/merged_host_vars.py - Merges:
-
cli,roles,luxnix,services,desktops
-
- Applies:
strip_common_prefix()dotkey_to_nested_dict()
- Returns final structured config dictionary
-
Function:
render_home_nix_template() -
File:
lx_administration/autoconf/nix/home_template_renderer.py - Uses Jinja2
- Template path:
conf/nix-templates/homes/<platform>/default.nix.j2 - Renders final
default.nixcontent
-
Function:
write_nix_file() -
File:
lx_administration/autoconf/nix/utils.py - Output path:
- Installation Guide - NixOS and Setting Up Luxnix
- Flake.nix & Garbage Collection
- Access Management
- Roles
- LX Cheatsheet
- tmux CLI Cheatsheet
- Deployment Guide
- Development
- Hardware Setup
- Network Architecture
- Security Improvements
- Security
- Service Architecture
- User Management
- Systemd tmpfiles Rules in NixOS
- Common Errors
- NixOs Configuration Testing with Eval
- System Language Change
- Roles Documentation
- Doc Maintenance Schedule
- Luxnix Server Setup with example
- Postgres Config Guide
- Postgres Documentation
- Postgres gc-10 Declarative Setup Summary
- Endoreg Central Architecture
- Readme
- Ansible CMDB Readme
- Process flow of creating Hosts, Roles, Groups
- Adding a New User Configuration
- Maintenance & Security: Auto Update #6
- Home Configuration Autoconf Flow (Step-by-Step)
- Guide to Define New Setting With Example
- Autoconfig- create inventory.yml using Python Script
- Updated : Generating home config files using autoconfig
- git
- vscode
- fix_long_lines
- kernel
- keycloak-setup
- network
- setup-mail
- setup-s04
- syncthing
- 2025-01-29 - postgres