mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Compare commits
3 commits
1ea62e80e2
...
979c1f4578
Author | SHA1 | Date | |
---|---|---|---|
979c1f4578 | |||
b78b4ce5be | |||
4f32bfe165 |
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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/
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue