Initial commit
This commit is contained in:
commit
430194beda
109 changed files with 9066 additions and 0 deletions
32
overlays/default.nix
Normal file
32
overlays/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
# packages in `pkgs/` accessible through 'pkgs.local'
|
||||
local-packages = final: prev: { local = import ../pkgs { pkgs = final; }; };
|
||||
|
||||
# https://nixos.wiki/wiki/Overlays
|
||||
modifications =
|
||||
final: prev:
|
||||
let
|
||||
files = [
|
||||
];
|
||||
imports = builtins.map (f: import f final prev) files;
|
||||
in
|
||||
builtins.foldl' (a: b: a // b) { } imports;
|
||||
|
||||
# old-stable nixpkgs accessible through 'pkgs.old-stable'
|
||||
old-stable-packages = final: prev: {
|
||||
old-stable = import inputs.nixpkgs-old-stable {
|
||||
inherit (final) system;
|
||||
inherit (prev) config;
|
||||
};
|
||||
};
|
||||
|
||||
# unstable nixpkgs accessible through 'pkgs.unstable'
|
||||
unstable-packages = final: prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
inherit (final) system;
|
||||
inherit (prev) config;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue