sisyphus/nixos/README.md

17 lines
896 B
Markdown
Raw Normal View History

# NixOS
2023-05-03 10:19:49 +02:00
Nix Flake configuration for my Linux machines running NixOS.
2023-10-17 23:15:14 +02:00
## Structure
2023-10-17 23:15:14 +02:00
The directory structure is organized as follows:
2023-10-17 23:15:14 +02:00
- [`flake.nix`](./flake.nix): Main entrypoint for the configuration.
- [hosts/*hostname*](./hosts): Host-specific configuration by setting options. Each host has its own folder.
- [modules](./modules): Declarations of configuration options.
- [overlays](./overlays): Attribute overrides for Nix Packages.
- [secrets](./secrets): Encrypted files that store sensitive information, such as SSH private keys.
2023-10-20 22:43:15 +02:00
- [users/*username*](./users): User-specific configuration. Users are defined as modules, so they can be enabled or disabled on a host machine.
[Modules](https://nixos.wiki/wiki/NixOS_modules) are a key component of NixOS. They encapsulate various configuration options, which should make it easy for you to integrate it into your specific configuration.