From 323973ecbb71b6186290a798af1c8a2c91299e18 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 23 Feb 2024 03:23:54 +0100 Subject: apps/static-users: init --- apps/static-users/capabilities.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/static-users/capabilities.nix (limited to 'apps/static-users/capabilities.nix') 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 -- cgit v1.2.3