Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/33c6dca0c0cb31d6addcd34e90a63ad61826b28c?narHash=sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0%3D' (2025-10-19)
→ 'github:NixOS/nixpkgs/daf6dc47aa4b44791372d6139ab7b25269184d55?narHash=sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8%2BON/0Yy8%2Ba5vsDU%3D' (2025-10-27)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/5e2a59a5b1a82f89f2c7e598302a9cacebb72a67?narHash=sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs%3D' (2025-10-19)
→ 'github:NixOS/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c?narHash=sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI%3D' (2025-10-28)
• Updated input 'zen-browser':
'github:youwen5/zen-browser-flake/e7d9fefd8665be5d4c77466140f21a15f6d29e93?narHash=sha256-d01CGcdNlsqIn4ncGCWHM0Velnii/Ggef1iybQvEOfc%3D' (2025-10-22)
→ 'github:youwen5/zen-browser-flake/5355c0dc6857a2aa34b126fb4a93a454ed702f52?narHash=sha256-ntnfAAqSuXI/%2BuqXAWUjbY5arB7sRK9cpgFbHbCZgK8%3D' (2025-10-31)
|
||
|---|---|---|
| .. | ||
| 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.