summaryrefslogtreecommitdiff
path: root/lib/files.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files.nix')
-rw-r--r--lib/files.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/files.nix b/lib/files.nix
index 960d1d0..c75508c 100644
--- a/lib/files.nix
+++ b/lib/files.nix
@@ -1,8 +1,8 @@
-{lib, ...}: let
+{lib}: let
# gets list of files from a directory
getFiles = folder:
lib.attrsets.mapAttrsToList (name: _: "${folder}/${name}") (builtins.readDir folder);
-
+in {
# gets custom set of root certs
certs = getFiles ../files/certs;
@@ -15,9 +15,4 @@
gpgKeys =
builtins.filter
(filePath: lib.strings.hasSuffix "asc" filePath) (getFiles ../files/keys);
-in {
- inherit getFiles;
- inherit certs;
- inherit sshKeys;
- inherit gpgKeys;
}