Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5ed4e25ab58fd4c028b59d5611e14ea64de51d23?narHash=sha256-TvODmeR2W7yX/JmOCmP%2BlAFNkTT7hAxYcF3Kz8SZV3w%3D' (2025-09-29)
→ 'github:NixOS/nixpkgs/33c6dca0c0cb31d6addcd34e90a63ad61826b28c?narHash=sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0%3D' (2025-10-19)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/e9f00bd893984bc8ce46c895c3bf7cac95331127?narHash=sha256-0m27AKv6ka%2Bq270dw48KflE0LwQYrO7Fm4/2//KCVWg%3D' (2025-09-28)
→ 'github:NixOS/nixpkgs/5e2a59a5b1a82f89f2c7e598302a9cacebb72a67?narHash=sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs%3D' (2025-10-19)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/9fcfabe085281dd793589bdc770a2e577a3caa5d?narHash=sha256-f9QC2KKiNReZDG2yyKAtDZh0rSK2Xp1wkPzKbHeQVRU%3D' (2025-09-29)
→ 'github:Mic92/sops-nix/5a7d18b5c55642df5c432aadb757140edfeb70b3?narHash=sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY%3D' (2025-10-20)
• Updated input 'zen-browser':
'github:youwen5/zen-browser-flake/afd770119e0f9fbb085665738f3fa4c28ff42f78?narHash=sha256-LMfGQsy3OibEqr3WtLCOqUVdOy5/6DJKWHV8h%2B1Vapk%3D' (2025-09-30)
→ 'github:youwen5/zen-browser-flake/e7d9fefd8665be5d4c77466140f21a15f6d29e93?narHash=sha256-d01CGcdNlsqIn4ncGCWHM0Velnii/Ggef1iybQvEOfc%3D' (2025-10-22)
|
||
|---|---|---|
| .. | ||
| 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.