feat(flake): modular structure with flake-file and flake-parts
This commit is contained in:
parent
4a576b32ff
commit
366e75c9d1
5 changed files with 149 additions and 8 deletions
30
flake/inputs/core.nix
Normal file
30
flake/inputs/core.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue