Nix fmt rfc style (more or less)

This commit is contained in:
Filippo Berto 2024-08-13 12:22:23 +02:00
parent e7496c447a
commit 515f098644
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
146 changed files with 2607 additions and 906 deletions

View file

@ -1,8 +1,15 @@
{ lib, config, ... }: {
{ lib, config, ... }:
{
age.secrets.kavita_token = { file = ../../secrets/kavita_token.age; owner = "kavita"; };
age.secrets.kavita_token = {
file = ../../secrets/kavita_token.age;
owner = "kavita";
};
services.kavita = { enable = true; tokenKeyFile = config.age.secrets.kavita_token.path; };
services.kavita = {
enable = true;
tokenKeyFile = config.age.secrets.kavita_token.path;
};
networking.firewall.allowedTCPPorts = lib.optionals config.services.kavita.enable [
config.services.kavita.port