all repos — nixfiles @ 5547761a1bb00e01c017fbb11db3cc025f93d855

System and user configuration, managed by nix and home-manager

use overlays in colmena

Alan Pearce
commit

5547761a1bb00e01c017fbb11db3cc025f93d855

parent

a0f04f012373904df768b27aa884b9dd8411ef54

1 file changed, 15 insertions(+), 1 deletion(-)

jump to
M hive.nixhive.nix
@@ -1,6 +1,20 @@
+let + path = ./overlays; + content = builtins.readDir path; + overlays = map (n: import (path + ("/" + n))) + (builtins.filter + (n: + (builtins.match ".*\\.nix" n != null && + # ignore Emacs lock files (.#foo.nix) + builtins.match "\\.#.*" n == null) || + builtins.pathExists (path + ("/" + n + "/default.nix"))) + (builtins.attrNames content)); +in { meta = { - nixpkgs = <nixpkgs>; + nixpkgs = import <nixpkgs> { + inherit overlays; + }; specialArgs = { srvos = import <srvos>; };