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
|
# 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
|
## Features
|
||||||
|
|
||||||
@@ -18,24 +20,24 @@ nix-config/
|
|||||||
├── flake.nix # Main entry point (inputs + outputs)
|
├── flake.nix # Main entry point (inputs + outputs)
|
||||||
├── flake.lock # Pinned versions
|
├── flake.lock # Pinned versions
|
||||||
├── hosts/ # Per-machine configs
|
├── hosts/ # Per-machine configs
|
||||||
│ ├── laptop/default.nix # Machine-specific settings
|
│ ├── laptop/default.nix # Machine-specific settings
|
||||||
│ └── server/default.nix
|
│ └── server/default.nix
|
||||||
├── nixos/ # Shared NixOS modules
|
├── nixos/ # Shared NixOS modules
|
||||||
│ ├── default.nix
|
│ ├── default.nix
|
||||||
│ └── modules/
|
│ └── modules/
|
||||||
│ ├── system.nix # User creation, sudo
|
│ ├── system.nix # User creation, sudo
|
||||||
│ ├── development.nix # Languages, tools
|
│ ├── development.nix # Languages, tools
|
||||||
│ └── shell.nix # Shell config
|
│ └── shell.nix # Shell config
|
||||||
├── home/ # Shared Home Manager modules
|
├── home/ # Shared Home Manager modules
|
||||||
│ ├── default.nix
|
│ ├── default.nix
|
||||||
│ └── modules/
|
│ └── modules/
|
||||||
│ ├── shell.nix # Zsh + direnv
|
│ ├── shell.nix # Zsh + direnv
|
||||||
│ ├── editor.nix # Neovim/VSCode
|
│ ├── editor.nix # Neovim/VSCode
|
||||||
│ ├── git.nix # Git config
|
│ ├── git.nix # Git config
|
||||||
│ └── dev-tools.nix # tmux, etc
|
│ └── dev-tools.nix # tmux, etc
|
||||||
├── secrets/
|
├── secrets/
|
||||||
│ ├── .sops.yaml # Encryption config
|
│ ├── .sops.yaml # Encryption config
|
||||||
│ └── secrets.yaml # Encrypted secrets
|
│ └── secrets.yaml # Encrypted secrets
|
||||||
└── README.md
|
└── README.md
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -45,8 +47,8 @@ nix-config/
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone repository
|
# Clone repository
|
||||||
git clone <your-repo> nix-config
|
git clone <repo-url> nix-los
|
||||||
cd nix-config
|
cd nix-los
|
||||||
|
|
||||||
# Generate age keypair (one-time)
|
# Generate age keypair (one-time)
|
||||||
age-keygen -o -f ~/.config/sops/age/keys.txt
|
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`
|
4. **Test before deploying**: Use `nixos-rebuild test` or `home-manager build`
|
||||||
5. **Version your flake**: Commit `flake.lock` for reproducibility
|
5. **Version your flake**: Commit `flake.lock` for reproducibility
|
||||||
6. **Separate concerns**: System settings → nixos/, User env → home/
|
6. **Separate concerns**: System settings → nixos/, User env → home/
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
MIT
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
home.username = "youruser";
|
home.username = "youruser";
|
||||||
home.homeDirectory = "/home/youruser";
|
home.homeDirectory = "/home/youruser";
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "25.11";
|
||||||
|
|
||||||
# Home-level packages
|
# Home-level packages
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user