about summary refs log tree commit diff
path: root/modules/system/fonts/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-07-20 17:33:21 -0700
committerFranck Cuny <franck@fcuny.net>2022-07-20 17:36:05 -0700
commit9bc2d533742ba8b988390a56f13e323bbcbffc80 (patch)
treee0766a042457aa83a8c65e0e567b896f058e3477 /modules/system/fonts/default.nix
parentfeat(modules/gerrit): manage secure configuration with nix (diff)
downloadworld-9bc2d533742ba8b988390a56f13e323bbcbffc80.tar.gz
fix(modules/secrets): set correctly all possible attributes
Secrets can have multiple attributes: the owner, group, mode and path.
So far, we were setting the file (path where it should be read from),
the owner (if it exists), the group (if it exists) and the mode. The
attribute 'path' was not propagated correctly.

We now check for all these attributes (as optional) and if they exists
we set them. We still validate that the user and group exist before
setting them.

Change-Id: Ifeccf2ee9d0acd17a3cd05de8d08968cea49550b
Reviewed-on: https://cl.fcuny.net/c/world/+/641
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules/system/fonts/default.nix')
0 files changed, 0 insertions, 0 deletions