From 4bdcde72eb85dfe48c753a63fce8036e3dadd8d2 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Tue, 7 Apr 2026 03:32:36 +0200 Subject: [PATCH] Update README formatting and home stateVersion to 25.11 --- README.md | 32 +++++++++++++++----------------- home/default.nix | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a271dc3..9788c17 100644 --- a/README.md +++ b/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 nix-config -cd nix-config +git clone 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 diff --git a/home/default.nix b/home/default.nix index da893ef..5c2b287 100644 --- a/home/default.nix +++ b/home/default.nix @@ -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; [