Format project using nixfmt rfc candidate.
This commit is contained in:
parent
1f63817684
commit
a9f7fe416f
91 changed files with 1347 additions and 1000 deletions
|
@ -6,10 +6,11 @@
|
|||
with lib;
|
||||
let
|
||||
tandoor = config.services.tandoor-recipes;
|
||||
in {
|
||||
vHost =
|
||||
if tandoor.enable
|
||||
then {
|
||||
in
|
||||
{
|
||||
vHost =
|
||||
if tandoor.enable then
|
||||
{
|
||||
extraConfig = ''
|
||||
location /media/ {
|
||||
alias ${tandoor.extraConfig.MEDIA_ROOT};
|
||||
|
@ -24,6 +25,7 @@ in {
|
|||
}
|
||||
'';
|
||||
}
|
||||
else {};
|
||||
}
|
||||
.vHost
|
||||
else
|
||||
{ };
|
||||
}
|
||||
.vHost
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue