fix(all): nixfmt
This commit is contained in:
parent
f86394d5a2
commit
6eeb49f93c
3 changed files with 7 additions and 7 deletions
|
@ -10,13 +10,12 @@ with lib.${namespace};
|
||||||
let
|
let
|
||||||
cfg = config.${namespace}.services.ente-auth;
|
cfg = config.${namespace}.services.ente-auth;
|
||||||
|
|
||||||
enteApp =
|
enteApp = cfg.package.override {
|
||||||
cfg.package.override {
|
extraBuildEnv = {
|
||||||
extraBuildEnv = {
|
NEXT_PUBLIC_ENTE_ENDPOINT = "https://ente-api.monapona.dev";
|
||||||
NEXT_PUBLIC_ENTE_ENDPOINT = "https://ente-api.monapona.dev";
|
NEXT_TELEMETRY_DISABLED = "1";
|
||||||
NEXT_TELEMETRY_DISABLED = "1";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.services.ente-auth = {
|
options.${namespace}.services.ente-auth = {
|
||||||
|
|
|
@ -36,7 +36,7 @@ in
|
||||||
default = "reddit.stahl.sh";
|
default = "reddit.stahl.sh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
networking.firewall.allowedTCPPorts = mkIf cfg.nginx.enable [
|
networking.firewall.allowedTCPPorts = mkIf cfg.nginx.enable [
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
namespace,
|
namespace,
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue