mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
first commit
This commit is contained in:
commit
58a3f28118
72 changed files with 3082 additions and 0 deletions
12
pkgs/default.nix
Executable file
12
pkgs/default.nix
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
rec{
|
||||
overlay = final: prev:
|
||||
let
|
||||
dirContents = builtins.readDir ../pkgs;
|
||||
genPackage = name: {
|
||||
inherit name;
|
||||
value = final.callPackage (../pkgs + "/${name}") { };
|
||||
};
|
||||
names = builtins.attrNames dirContents;
|
||||
in
|
||||
builtins.listToAttrs (map genPackage names);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue