Compare commits

...

3 commits

Author SHA1 Message Date
magic_rb 979c1f4578
Reflect change back in repo to dotfiles from dotfiles-2.0 in terranix
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 10:02:39 +01:00
magic_rb b78b4ce5be
Fix evaluation due to usage of optinal secrets in blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 10:00:14 +01:00
magic_rb 4f32bfe165
Increase max body size for mainsail
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 09:57:36 +01:00
3 changed files with 5 additions and 3 deletions

View file

@ -139,7 +139,7 @@
flake_rev = self.rev or (lib'.warn "No flake revision available, do not deploy containers!" "");
flake_sha = self.narHash or (lib'.warn "No flake nar hash available, do not deploy containers!" "");
flake_ref = "master";
flake_host = "git+https://git.sr.ht/~magic_rb/dotfiles-2.0";
flake_host = "git+https://git.sr.ht/~magic_rb/dotfiles";
};
_module.args.config' = config;
}

View file

@ -21,7 +21,7 @@ in
};
modules = singleton
({ pkgs, config, ... }:
({ secret, pkgs, config, ... }:
{
imports = [
./bind.nix
@ -119,7 +119,7 @@ in
};
script = ''
mkdir -p /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript
rsync --chown 403:403 --chmod Du=rwx,Dgo=rx,Fu=rw,Fgo=r -arvc --delete ${secret.pyscript}/. /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript/
rsync --chown 403:403 --chmod Du=rwx,Dgo=rx,Fu=rw,Fgo=r -arvc --delete ${secret.pyscript or ""}/. /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript/
'';
};

View file

@ -147,6 +147,8 @@ server {
# Influx doesn't like it either
include /local/security.conf;
client_max_body_size 500M;
location / {
include /local/headers.conf;