add backups + fix appservice-irc media proxy

This commit is contained in:
jeltz 2025-04-07 20:24:53 +02:00
parent d672a1d1ee
commit 8129b26c4c
Signed by: jeltz
GPG key ID: 800882B66C0C3326
14 changed files with 214 additions and 8 deletions

View file

@ -17,7 +17,6 @@ let
nodeNixpkgs = {
# FIXME discourse est cassé en unstable
pendragon = nixpkgs2411;
martagon = nixpkgs2411;
};
in
{
@ -31,10 +30,11 @@ in
# FIXME
nixpkgs.config.permittedInsecurePackage = [ "olm-3.2.16" ];
defaults = { pkgs, lib, ... }: {
defaults = { name, pkgs, lib, ... }: {
imports = [
./profiles/sysadmin.nix
./profiles/infra.nix
./profiles/backups.nix
./profiles/prometheus-node-exporter.nix
#./profiles/ldap.nix
"${src.agenix}/modules/age.nix"
@ -52,6 +52,7 @@ in
networking.nftables.enable = true;
infra.enabled = true;
backups.enable = true;
# Enable system diffs.
system.activationScripts.system-diff = {
@ -69,7 +70,7 @@ in
time.timeZone = "Europe/Paris";
};
vogon = { ... }: {
vogon = { pkgs, ... }: {
deployment.tags = [ "hypervisor" ];
networking.hostId = "1751e2a7";