chore: refactor flake layout

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-09-17 00:16:25 +02:00
parent 892c0afc60
commit 105f613c6b
Signed by: lander
GPG key ID: 0142722B4B0C536F
6 changed files with 66 additions and 1 deletions

20
overlays/default.nix Normal file
View file

@ -0,0 +1,20 @@
{ inputs, ... }:
{
# Import custom packages
additions = final: _prev: import ../pkgs final.pkgs;
# Add modifications here:
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
};
# add nixpkgs unstable (accessible through pkgs.unstable)
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;
};
};
}