Update README formatting and home stateVersion to 25.11

This commit is contained in:
2026-04-07 03:32:36 +02:00
parent 795df94928
commit 4bdcde72eb
2 changed files with 16 additions and 18 deletions

View File

@@ -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

View File

@@ -14,7 +14,7 @@
home.username = "youruser";
home.homeDirectory = "/home/youruser";
home.stateVersion = "24.11";
home.stateVersion = "25.11";
# Home-level packages
home.packages = with pkgs; [