diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-09-29 13:51:44 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-09-29 13:51:44 +0300 |
commit | 62f28d30a069135f9c48678507203958adfc334f (patch) | |
tree | 7f38af0c8d3f445ee8cc50906a639baec7011127 /default.nix | |
parent | 1af9e6589bdd18e6ba7eeabf073aa7d710020cdd (diff) | |
download | nixsap-62f28d30a069135f9c48678507203958adfc334f.tar.gz |
Moved everything into ./modules
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/default.nix b/default.nix index 0b7516d..c245624 100644 --- a/default.nix +++ b/default.nix @@ -1,16 +1,4 @@ -{ lib, ... }: - -let - all = lib.filterAttrs - ( n: _: n != "default.nix" - && ! lib.hasPrefix "." n - && ! lib.hasPrefix "LICENSE" n - && ! lib.hasPrefix "README" n - && ! lib.hasPrefix "ChangeLog" n - && ! lib.hasPrefix "TODO" n - ) (builtins.readDir ./.); - -in { - imports = map (p: ./. + "/${p}") ( builtins.attrNames all ); +{ + imports = [ ./modules ]; } |