monitoring

This commit is contained in:
41666 2024-02-19 17:29:41 -05:00
parent 300f95c497
commit c69cd07520
2 changed files with 3 additions and 1 deletions

View file

@ -68,7 +68,7 @@ sops-generate-keys:
deploy target_host extra_flags="":
@test -f nixos/hosts/{{target_host}}/.target || { echo "Host cannot be deployed, add a .target file with SSH destination"; exit 1; }
ssh -A `cat nixos/hosts/{{target_host}}/.target` sudo nixos-rebuild switch {{extra_flags}} --flake \"git+https://codeberg.org/noe/nixos.git?ref={{branch}}\&rev={{commit}}#{{target_host}}\"
ssh -A `cat nixos/hosts/{{target_host}}/.target` sudo nixos-rebuild switch {{extra_flags}} --accept-flake-config --flake \"git+https://codeberg.org/noe/nixos.git?ref={{branch}}\&rev={{commit}}#{{target_host}}\"
#
ssh target_host *args='':

View file

@ -3,6 +3,7 @@
../../templates/proxmox-lxc.nix
../../server.nix
../../features/dns-cache.nix
../../features/telemetry
];
networking.hostName = "monitoring";
@ -58,6 +59,7 @@
(static "keylime" [ node ])
(static "keysmash" [ node ])
(static "cider" [ node ])
(static "monitoring" [ node ])
(static "ingress-proxy" [ node nginx ])
{
job_name = "pve_node";