From 6a29e8bfcc34b7d59957793496789909fa9e994a Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 26 Jan 2021 20:20:05 +0100 Subject: upstream modules: init --- krebs/3modules/default.nix | 1 + krebs/3modules/upstream/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 krebs/3modules/upstream/default.nix diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix index e7d04ead8..85d27459b 100644 --- a/krebs/3modules/default.nix +++ b/krebs/3modules/default.nix @@ -55,6 +55,7 @@ let ./sync-containers.nix ./tinc.nix ./tinc_graphs.nix + ./upstream ./urlwatch.nix ./repo-sync.nix ./xresources.nix diff --git a/krebs/3modules/upstream/default.nix b/krebs/3modules/upstream/default.nix new file mode 100644 index 000000000..ce7bd1644 --- /dev/null +++ b/krebs/3modules/upstream/default.nix @@ -0,0 +1,10 @@ +with import ; + +{ + imports = + map + (name: ./. + "/${name}") + (filter + (name: name != "default.nix" && !hasPrefix "." name) + (attrNames (readDir ./.))); +} -- cgit v1.2.3