Removed useless artifact (create-lxc.sh and some folders). Removed references to nix-sops.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
### **Objectives**
|
||||
|
||||
| Objective | Description | Priority |
|
||||
| --------------------------------| --------------------------------------------------------------------------------------| ----------|
|
||||
| ---------------------------| ------------------------------------------------------------------| ----------|
|
||||
| Centralize configurations | A single Git repository for all machines. | ⭐⭐⭐ |
|
||||
| Modularity | Reusable modules for services, machine types, and user profiles. | ⭐⭐⭐ |
|
||||
| Automation | Scripts to deploy configurations to machines and containers. | ⭐⭐⭐ |
|
||||
@@ -245,7 +245,7 @@ nixos-infra/
|
||||
|
||||
## **🔐 Secret Management**
|
||||
|
||||
- **Tool** : `agenix` (recommended) or `sops-nix`.
|
||||
- **Tool** : `agenix`.
|
||||
- **Process** :
|
||||
1. Encrypt secrets with `age` :
|
||||
```bash
|
||||
@@ -268,7 +268,7 @@ nixos-infra/
|
||||
|
||||
|
||||
| Step | Description | Status | Priority |
|
||||
| ------------------------------- | ------------------------------------------------- | ------ | -------- |
|
||||
| --------------------------------| -----------------------------------------------| --------| ----------|
|
||||
| Test the NixOS LXC template | Verify that the template works under Proxmox. | ⬜ | ⭐⭐⭐ |
|
||||
| Finalize `create-lxc-nixos.sh` | Test the creation of an LXC container. | ⬜ | ⭐⭐⭐ |
|
||||
| Write the DNS module | Module for the DNS service (Bind). | ⬜ | ⭐⭐⭐ |
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Usage: create-lxc.sh --proxmox-server SERVER --user= --identity FIEL [--config-file LXC_CONFIG_FILE]
|
||||
|
||||
# Parse command line arguments using docopts
|
||||
|
||||
# Connect to Proxmox VE server using provided credentials
|
||||
|
||||
# Create LXC container with provided configuration
|
||||
|
||||
# Configuration can be provided via stdin or a file
|
||||
|
||||
# Fail if both stdin and file are provided
|
||||
|
||||
# Example usage:
|
||||
# cat lxc-config.conf | ./create-lxc.sh --proxmox-server=192.168.1.1 --username=admin --password=password
|
||||
# or
|
||||
# ./create-lxc.sh --proxmox-server=192.168.1.1 --username=admin --password=password --config-file=lxc-config.conf
|
||||
|
||||
# Example lxc-config.conf:
|
||||
# lxc.network.type: veth
|
||||
# lxc.network.link: eth0
|
||||
# lxc.network.flags: up
|
||||
# lxc.network.hwaddr: 00:16:3e:xx:xx:xx
|
||||
# lxc.network.ipv4: 192.168.1.100/24
|
||||
# lxc.network.ipv4.gateway: 192.168.1.1
|
||||
# lxc.network.ipv6: 2001:db8::100/64
|
||||
# lxc.network.ipv6.gateway: 2001:db8::1
|
||||
|
||||
# Parse command line arguments using docopts
|
||||
|
||||
# Connect to Proxmox VE server using provided credentials
|
||||
|
||||
# Create LXC container with provided configuration
|
||||
|
||||
# Configuration can be provided via stdin or a file
|
||||
|
||||
# Fail if both stdin and file are provided
|
||||
|
||||
# Example usage:
|
||||
# cat lxc-config.conf | ./create-lxc.sh --proxmox-server=192.168.1.1 --username=admin --password=password
|
||||
# or
|
||||
# ./create-lxc.sh --proxmox-server=192.168.1.1 --username=admin --password=password --config-file=lxc-config.conf
|
||||
|
||||
# Example lxc-config.conf:
|
||||
# lxc.network.type: veth
|
||||
# lxc.network.link: eth0
|
||||
# lxc.network.flags: up
|
||||
# lxc.network.hwaddr: 00:16:3e:xx:xx:xx
|
||||
# lxc.network.ipv4: 192.168.1.100/24
|
||||
# lxc.network.ipv4.gateway: 192.168.1.1
|
||||
# lxc.network.ipv6: 2001:db8::100/64
|
||||
# lxc.network.ipv6.gateway: 2001:db8::1
|
||||
Reference in New Issue
Block a user