Update README formatting and home stateVersion to 25.11
This commit is contained in:
32
README.md
32
README.md
@@ -1,6 +1,8 @@
|
||||
# Portable NixOS Configuration
|
||||
|
||||
A production-ready, modular NixOS + Home Manager setup with automatic disk partitioning, secrets management, and support for both new and existing systems.
|
||||
A production-ready, modular NixOS + Home Manager setup with automatic disk
|
||||
partitioning, secrets management, and support for both new and existing
|
||||
systems.
|
||||
|
||||
## Features
|
||||
|
||||
@@ -18,24 +20,24 @@ nix-config/
|
||||
├── flake.nix # Main entry point (inputs + outputs)
|
||||
├── flake.lock # Pinned versions
|
||||
├── hosts/ # Per-machine configs
|
||||
│ ├── laptop/default.nix # Machine-specific settings
|
||||
│ ├── laptop/default.nix # Machine-specific settings
|
||||
│ └── server/default.nix
|
||||
├── nixos/ # Shared NixOS modules
|
||||
│ ├── default.nix
|
||||
│ └── modules/
|
||||
│ ├── system.nix # User creation, sudo
|
||||
│ ├── development.nix # Languages, tools
|
||||
│ └── shell.nix # Shell config
|
||||
│ ├── system.nix # User creation, sudo
|
||||
│ ├── development.nix # Languages, tools
|
||||
│ └── shell.nix # Shell config
|
||||
├── home/ # Shared Home Manager modules
|
||||
│ ├── default.nix
|
||||
│ └── modules/
|
||||
│ ├── shell.nix # Zsh + direnv
|
||||
│ ├── editor.nix # Neovim/VSCode
|
||||
│ ├── git.nix # Git config
|
||||
│ └── dev-tools.nix # tmux, etc
|
||||
│ ├── shell.nix # Zsh + direnv
|
||||
│ ├── editor.nix # Neovim/VSCode
|
||||
│ ├── git.nix # Git config
|
||||
│ └── dev-tools.nix # tmux, etc
|
||||
├── secrets/
|
||||
│ ├── .sops.yaml # Encryption config
|
||||
│ └── secrets.yaml # Encrypted secrets
|
||||
│ ├── .sops.yaml # Encryption config
|
||||
│ └── secrets.yaml # Encrypted secrets
|
||||
└── README.md
|
||||
```
|
||||
|
||||
@@ -45,8 +47,8 @@ nix-config/
|
||||
|
||||
```bash
|
||||
# Clone repository
|
||||
git clone <your-repo> nix-config
|
||||
cd nix-config
|
||||
git clone <repo-url> nix-los
|
||||
cd nix-los
|
||||
|
||||
# Generate age keypair (one-time)
|
||||
age-keygen -o -f ~/.config/sops/age/keys.txt
|
||||
@@ -263,7 +265,3 @@ nix flake show
|
||||
4. **Test before deploying**: Use `nixos-rebuild test` or `home-manager build`
|
||||
5. **Version your flake**: Commit `flake.lock` for reproducibility
|
||||
6. **Separate concerns**: System settings → nixos/, User env → home/
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user