nixos-config/README.md
Christoph Heiss f1df51fe51
machines: rename serv -> tank, switch to baremetal
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-01-07 02:24:22 +01:00

52 lines
1.3 KiB
Markdown

# My nixOS configuration
## Structure
- `common`: Contains configuration that should be applied on every machine.
- `extra`: Non-Nix files, e.g. configuration files for other applications.
- `machines`: Host-specific configuration.
- `back`: Primary backup machine.
- `fort`: Public-reachable server on Hetzner infra.
- `tank`: Homelab server.
- `trek`: Framework laptop.
- `zero`: Main Ryzen 9 workstation.
- `modules`: Additional NixOS modules.
- `pkgs`: Custom packages.
- `secrets`: Secrects encrypted using [git-crypt](https://github.com/AGWA/git-crypt).
- `services`: Configuration for bigger service deployments, e.g. nginx.
- `system`: Configurations describing "classes" of machines, like servers or desktops.
- `system/home-manager`: home-manager configuration.
### Notable files
- `default.nix`: Morph deployment definitions
- `flake.nix`: Nix development shell definition
- `sources.nix`: Contains all Nix package/module source definitions
## Hacking
`nix develop` will provide an ephemeral shell with all tools needed.
## License
The code is released into the public domain.
Other conditions apply to the following files:
- `extra/sway/background.png`: [Photo](https://unsplash.com/photos/wQLAGv4_OYs) by [Lucas Kapla](https://unsplash.com/@aznbokchoy), [Unsplash License](https://unsplash.com/license)