feat(flake): modular structure with flake-file and flake-parts

This commit is contained in:
Sk7Str1p3 2026-04-12 20:45:04 +03:00
parent 4a576b32ff
commit 366e75c9d1
No known key found for this signature in database
GPG key ID: 4DD995933D06D43B
5 changed files with 149 additions and 8 deletions

30
flake/inputs/core.nix Normal file
View file

@ -0,0 +1,30 @@
# Core Inputs
/**
Essential inputs that form
the foundation of the NixOS configuration
*/
{
/**
The Core of NixOS, providing packages and modules.
Points to `nixos-unstable` branch for latest features an updates
*/
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
/**
A modular flake framework that simplifies flake organizing
and reduces boilerplate code.
*/
flake-parts = {
url = "github:hercules-ci/flake-parts";
};
/**
Like flake-parts, but for flake inputs
*/
flake-file = {
url = "github:vic/flake-file";
};
}