Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/4eb4fec41674d5b059aa2eedf0f98453890546fa?narHash=sha256-WU6SUrESuPiEXEUvX4D51AgWrXRJty%2BsLJBwBaDBGqE%3D' (2026-06-08)
→ 'github:nix-community/home-manager/d899b01766784bcc9a141ee13bad6dc689d47c37?narHash=sha256-hIaUkf6qalGk2xxNEkBMP2m2aPBq%2BqXvUPOIwwEDySI%3D' (2026-06-10)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/29916453413845e54a65b8a1cf996842300cd299?narHash=sha256-Ap9KJX%2B5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M%3D' (2026-05-23)
→ 'github:NixOS/nixpkgs/a799d3e3886da994fa307f817a6bc705ae538eeb?narHash=sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY%3D' (2026-06-06)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c591bf665727040c6cc5cb409079acb22dcce33c?narHash=sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8%3D' (2026-05-05)
→ 'github:Mic92/sops-nix/9ed65852b6257fbeae4355bc24ecfea307ca759a?narHash=sha256-Gq8KNx5A7hBB3uGJaj6eQfLDIz5YdLu92gqBcvHvoUo%3D' (2026-06-04)
|
||
|---|---|---|
| .. | ||
| hosts | ||
| modules | ||
| overlays | ||
| secrets | ||
| users | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
NixOS
Nix Flake configuration for my Linux machines running NixOS.
Structure
The directory structure is organized as follows:
flake.nix: Main entrypoint for the configuration.- hosts/hostname: Host-specific configuration by setting options. Each host has its own folder.
- modules: Declarations of configuration options.
- overlays: Attribute overrides for Nix Packages.
- secrets: Encrypted files that store sensitive information, such as SSH private keys.
- users/username: User-specific configuration. Users are defined as modules, so they can be enabled or disabled on a host machine.
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.