modules: secrets: add 'owner' logic

This commit is contained in:
Bruno BELANYI 2021-09-26 19:19:35 +02:00
parent 8968e30e62
commit 5fd82472bf
4 changed files with 11 additions and 13 deletions

View file

@ -6,7 +6,6 @@
./boot.nix
./hardware.nix
./networking.nix
./secrets.nix
./services.nix
./users.nix
];

View file

@ -1,8 +0,0 @@
# Secrets configuration
{ ... }:
{
config.age.secrets = {
# Must be readable by the service
"nextcloud/password".owner = "nextcloud";
};
}