docs(example): add example configuration

added both a home-manager and 'minimal configuration'.
They can be built and testet in this repo via:
- nixos-generate-config --dir example/default # or example/home-manager
- nix build path:./example/default#nixosConfigurations.default.config.system.build.toplevel # or path:./example/home-manager#...

the flake.lock and hardeware-configuration is ignored to prevent accidental commitment of the hardware-configuration (and get the freshes packages when somebody might use these configs as templates
This commit is contained in:
gytic 2025-08-24 09:23:13 +02:00
parent b1514b1c69
commit c0bd1bd615
7 changed files with 222 additions and 0 deletions

View file

@ -53,6 +53,15 @@ NixOS-95/
nix.settings.experimental-features = ["nix-command" "flakes" "pipe-operators"];
Enabled
You can initilize a new flake-based configuration with:
```
# minimal
nix flake init -t github:Peritia-System/NixOS-95/Dev
# with home-manager
nix flake init -t github:Peritia-System/NixOS-95/Dev#home-manager
```
Or follow the manual installation process:
### 1. Add Nyx to your flake