feat(fw): update to 25.11
This commit is contained in:
@@ -1 +1 @@
|
||||
https://channels.nixos.org/nixos-25.05
|
||||
https://channels.nixos.org/nixos-25.11
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
./utils/modules/victoriametrics
|
||||
./utils/modules/promtail
|
||||
./utils/modules/borgbackup.nix
|
||||
./utils/modules/set-nix-channel.nix
|
||||
|
||||
# fw
|
||||
./modules/network-prefix.nix
|
||||
@@ -103,7 +104,7 @@
|
||||
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
services.logind.extraConfig = "RuntimeDirectorySize=2G";
|
||||
services.logind.settings.Login.RuntimeDirectorySize = "2G";
|
||||
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
||||
@@ -19,21 +19,19 @@
|
||||
};
|
||||
|
||||
# n8n service configuration
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
settings = {
|
||||
database.type = "postgresdb";
|
||||
database.postgresdb.host = "/run/postgresql";
|
||||
database.postgresdb.database = "n8n";
|
||||
database.postgresdb.user = "n8n";
|
||||
executions.pruneData = true;
|
||||
executions.pruneDataMaxAge = 168; # 7 days
|
||||
};
|
||||
};
|
||||
services.n8n.enable = true;
|
||||
|
||||
# Configure git integration via environment variables
|
||||
# Configure n8n via environment variables
|
||||
systemd.services.n8n = {
|
||||
environment = lib.mkForce {
|
||||
# Database configuration (migrated from services.n8n.settings)
|
||||
DB_TYPE = "postgresdb";
|
||||
DB_POSTGRESDB_HOST = "/run/postgresql";
|
||||
DB_POSTGRESDB_DATABASE = "n8n";
|
||||
DB_POSTGRESDB_USER = "n8n";
|
||||
EXECUTIONS_DATA_PRUNE = "true";
|
||||
EXECUTIONS_DATA_MAX_AGE = "168"; # 7 days
|
||||
# Other settings
|
||||
N8N_ENCRYPTION_KEY = ""; # Will be set via environmentFile
|
||||
N8N_VERSION_NOTIFICATIONS_ENABLED = "false";
|
||||
N8N_DIAGNOSTICS_ENABLED = "false";
|
||||
|
||||
Reference in New Issue
Block a user