Nix fmt rfc style (more or less)
This commit is contained in:
parent
e7496c447a
commit
515f098644
146 changed files with 2607 additions and 906 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue