11 lines
250 B
Nix
11 lines
250 B
Nix
{ lib, ... }:
|
|
{
|
|
age.secrets = lib.mapAttrs' (
|
|
fileName: _:
|
|
lib.nameValuePair (lib.removeSuffix ".age" fileName) {
|
|
file = ./. + "/${fileName}";
|
|
# FIXME: Don't do this bruh
|
|
mode = "0644";
|
|
}
|
|
) (import ./secrets.nix);
|
|
}
|