Commit graph

10 commits

Author SHA1 Message Date
Harald Hoyer da780be326 fix(coturn): correct attribute names and import configuration
Change 'coturn' to 'services.coturn' and renamed 'hostname' to 'hostName'. Added 'coturn.nix' to the default imports in the main configuration file.
2024-09-17 10:19:55 +02:00
Harald Hoyer 7a72ecaea9 feat: Comment out goaccess in mx/default.nix
The goaccess.nix import has been commented out in the mx/default.nix file. This change signifies that the goaccess feature is currently not being utilized or is under maintenance.
2024-06-27 16:18:37 +02:00
Harald Hoyer 1033d30619 fix: replace gc with nix.gc for mx 2024-06-25 10:39:55 +02:00
Harald Hoyer 20cefaf839 feat: Update garbage collection options
Adjust default garbage collection intervals and retention periods. Set default GC to run weekly and retain 14 days on nixos module and to run daily and retain 7 days on the 64-linux module.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-25 10:10:33 +02:00
Harald Hoyer 5c07871808 feat: Enable Git program in base services
The primary change in this commit enables the Git program in the base/default service module. This marks a configuration alteration at the systems level, transferring the 'programs.git.enable' declaration from 'systems/x86_64-linux/mx/default.nix' to 'modules/nixos/services/base/default.nix'. We've undertaken this change for better structuring of our service configuration.
2024-06-12 10:52:58 +02:00
Harald Hoyer 7020c4acbc feat: Enable git program in mx
The configuration file for the mx system has been updated to enable the git program.
2024-06-12 10:49:49 +02:00
Harald Hoyer 1cd78fe21b feat: Add git safe directory to system config
This commit adds a git safe directory to the system config. This is to ensure that the git configurations are securely stored in "/var/lib/gitea/repositories/harald/nixcfg.git".
2024-06-12 10:41:52 +02:00
Harald Hoyer 86b3ff2cb0 feat(systemd): add check_root service and timer
A new systemd service, `check_root`, has been added which checks disk usage of the root directory. If usage exceeds 85%, an email alert is sent. In addition to this service, a corresponding systemd timer is added to trigger this check daily.
2024-05-17 16:58:44 +02:00
Harald Hoyer 16e744e39e feat: Add systemd service to monitor boot disk space
This commit introduces a new systemd service that runs daily to check the disk usage of the /boot partition. If utilization exceeds a set threshold, it triggers a warning email. This will ensure prompt alerts on critically low boot disk space, helping in maintaining a stable system.
2024-05-17 16:29:30 +02:00
Harald Hoyer f4e2368893 A new start 2024-03-21 15:00:36 +01:00