aboutsummaryrefslogtreecommitdiffstats
path: root/apps/static-users/secrets.nix
diff options
context:
space:
mode:
Diffstat (limited to 'apps/static-users/secrets.nix')
-rw-r--r--apps/static-users/secrets.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/static-users/secrets.nix b/apps/static-users/secrets.nix
new file mode 100644
index 0000000..ef6f35f
--- /dev/null
+++ b/apps/static-users/secrets.nix
@@ -0,0 +1,7 @@
+{ appConfig, lib, ... }:
+lib.mapAttrsToList
+ (username: _: {
+ type = "random-string";
+ path = "system-secrets/${appConfig.appId}/${username}.password";
+ })
+ appConfig.users