treewide: nix fmt
Some checks failed
Check flake / build-amd64-linux (push) Has been cancelled

This commit is contained in:
2025-07-26 15:42:30 +01:00
parent f54a947855
commit 0815780b1f
8 changed files with 288 additions and 296 deletions

View File

@@ -148,7 +148,8 @@
buildInputs = [
inputs.agenix.packages.${system}.agenix
inputs.deploy-rs.packages.${system}.deploy-rs
] ++ self.checks.${system}.pre-commit-check.enabledPackages;
]
++ self.checks.${system}.pre-commit-check.enabledPackages;
};
});

View File

@@ -42,9 +42,7 @@
];
locations."/" = {
proxyPass = "http://localhost:8081";
extraConfig =
proxyConfig
+ ''
extraConfig = proxyConfig + ''
# Disable proxy buffering for better streaming response from models
proxy_buffering off;
@@ -63,8 +61,7 @@
}
];
locations."/" = {
extraConfig =
''
extraConfig = ''
# Proxy JellySearch first
if ($arg_searchTerm) {
proxy_pass http://localhost:5000;

View File

@@ -40,8 +40,7 @@ in
};
};
age.secrets =
{
age.secrets = {
"passwords/services/coturn/static-auth-secret" = {
file = "${inputs.secrets}/passwords/services/coturn/static-auth-secret.age";
owner = "turnserver";

View File

@@ -63,8 +63,7 @@ in
};
};
services.nginx.virtualHosts =
{
services.nginx.virtualHosts = {
"${matrixSubdomain}" = {
forceSSL = true;
enableACME = true;
@@ -176,8 +175,7 @@ in
);
services.postgresql = lib.mkIf usePostgresql {
ensureUsers =
[
ensureUsers = [
{
name = "matrix-synapse";
ensureDBOwnership = true;
@@ -191,8 +189,7 @@ in
name = "mautrix-whatsapp";
ensureDBOwnership = true;
});
ensureDatabases =
[
ensureDatabases = [
"matrix-synapse"
]
++ (lib.optional bridges.signal "mautrix-signal")
@@ -216,6 +213,7 @@ in
};
mute_bridging = true;
};
} // commonBridgeSettings "mautrix-whatsapp";
}
// commonBridgeSettings "mautrix-whatsapp";
};
}

View File

@@ -82,8 +82,7 @@ in
maxSize = "100m";
};
};
virtualHosts =
{
virtualHosts = {
## Static sites
"chat.ai.vimium.com" = {
forceSSL = true;

View File

@@ -24,9 +24,7 @@ libcamera.overrideAttrs (old: {
./patches/libcamera-no-timeout.patch
];
postPatch =
old.postPatch
+ ''
postPatch = old.postPatch + ''
patchShebangs src/py/libcamera
'';

View File

@@ -20,8 +20,7 @@ let
concatMapAttrsStringSep =
sep: f: attrs:
concatStringsSep sep (attrValues (mapAttrs f attrs));
globalVariables =
{
globalVariables = {
_JAVA_AWT_WM_NONREPARENTING = "1";
GDK_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";

View File

@@ -42,7 +42,8 @@ in
./common/pass.nix
./common/shell.nix
./common/ssh.nix
] ++ optional (builtins.pathExists hostFile) hostFile;
]
++ optional (builtins.pathExists hostFile) hostFile;
home = {
username = name;