aboutsummaryrefslogtreecommitdiffstats
path: root/apps/static-users/capabilities.nix
diff options
context:
space:
mode:
Diffstat (limited to 'apps/static-users/capabilities.nix')
-rw-r--r--apps/static-users/capabilities.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/static-users/capabilities.nix b/apps/static-users/capabilities.nix
new file mode 100644
index 0000000..de8d1f0
--- /dev/null
+++ b/apps/static-users/capabilities.nix
@@ -0,0 +1,8 @@
+{ appConfig, lib, ... }:
+lib.concatMapAttrs
+ (name: attrs: lib.optionalAttrs (attrs ? publicKeyFile) {
+ ${name} = {
+ inherit (attrs) publicKeyFile;
+ };
+ })
+ appConfig.users