Commit graph

23 commits

Author SHA1 Message Date
Harald Hoyer 0288751ef5 feat: add host network setting to forgejo-runner
This commit enables the host network mode setting for the forgejo-runner in the x86_64-linux/mx system. This change facilitates better network performance and easy communication with the host.
2024-06-27 14:23:44 +02:00
Harald Hoyer 0520a52155 feat: Update Docker image reference in Nix configuration
The Docker image reference for the "nix" key in the `systems/x86_64-linux/mx/forgejo.nix` file was updated. This change points to a more recent version of the image, "nix-runner:latest", to ensure our deployments are based on the latest state.
2024-06-27 14:00:54 +02:00
Harald Hoyer a4805ea27c feat: Add nix image to runner images in forgejo.nix
This commit adds a new runner image for the Nix environment. The "nix:docker://backslashhh/nix:latest" line has been included in the Forgejo configuration, allowing Gitea to use the latest Nix image in the runner.
2024-06-27 13:52:19 +02:00
Harald Hoyer 83221b4587 feat: Update runner labels in forgejo.nix
This commit updates the runner labels in the forgejo.nix file. It changes the URL links for the runner images and specifies the version of Ubuntu to be used. The new labels reference the runner images from the gitea repository rather than Node.js images.
2024-06-27 13:16:19 +02:00
Harald Hoyer 2dfd6d1d60 feat: add gitea-actions-runner configuration
This commit introduces the configuration for the gitea-actions-runner service in the forgejo.nix file. It also includes adding a new encrypted yaml file for the runner token. The configurations set up instances and labels for different versions of Ubuntu.
2024-06-27 13:00:32 +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 ff726a73c9 feat: refactor domain whitelist in rspamd.nix
This update introduces a more efficient way for managing whitelisted domains in rspamd.nix. Instead of repeating the list of domains across multiple configurations, the domains are now defined only once in a dedicated variable. This improves the maintainability and readability of the code.
2024-06-22 18:10:12 +02:00
Harald Hoyer 7b06c9446c feat: Refactor rspamd settings in x86_64-linux systems
This commit simplifies the configuration of rspamd settings in x86_64-linux systems. It primarily involves restructuring of settings for 'settings.conf', 'spf_whitelist', 'spf_dkim_whitelist', 'dmarc_whitelist', and 'greylist-whitelist-domains'.
2024-06-22 17:26:01 +02:00
Harald Hoyer 8bbed5e255 feat: Update rspamd configurations
This commit introduces new whitelisted domains for SPFs, DKIMs, DMARCs and Greylists in the Rspamd configurations. It also adds new rules for incoming emails from bogensport-jugend@gmx.de, including disabling greylisting and specifying actions to apply.
2024-06-22 15:37:37 +02:00
Harald Hoyer 9f1bb163e1 feat: Update rspamd configurations
This commit introduces new whitelisted domains for SPFs, DKIMs, DMARCs and Greylists in the Rspamd configurations. It also adds new rules for incoming emails from bogensport-jugend@gmx.de, including disabling greylisting and specifying actions to apply.
2024-06-22 15:35:22 +02:00
Harald Hoyer 423ef6941d feat: Update rspamd configurations
This commit introduces new whitelisted domains for SPFs, DKIMs, DMARCs and Greylists in the Rspamd configurations. It also adds new rules for incoming emails from bogensport-jugend@gmx.de, including disabling greylisting and specifying actions to apply.
2024-06-22 15:13:08 +02:00
Harald Hoyer 6d4be557f8 style: fix indentation and spacing issues
This commit corrects the code's formatting in two parts:
1) It normalizes the indentation in the BindPaths block under aesmd_dcap/default.nix.
2) It also removes the extra space before "DE" in the default_phone_region setting in nextcloud.nix.
2024-06-22 15:12:57 +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 bd8d27e40e feat: update nextcloud settings in nix configuration
Move 'default_phone_region' setting to the proper place. The previous erroneous location of the following setting `default_phone_region` was fixed and moved under `settings` where the rest of the options reside. The configuration now aligns with the expected structure.
2024-06-12 10:44:55 +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 5c863a8fa0 feat: Remove specific email addresses from mailserver config
This commit removes specific email addresses related to "meike-knutz.de" and "gerlinde-hoyer.de" in the mailserver configuration. It affects aliases, postmaster, and abuse sections of the configuration.
2024-06-11 10:36:21 +02:00
Harald Hoyer 5b768bee9a feat: update defaultPhoneRegion config in nextcloud.nix
This commit removes the defaultPhoneRegion from the config section and sets it in the settings section in nextcloud.nix file. This reorganization improves the structure and readability of the configuration.
2024-06-11 10:35:11 +02:00
Harald Hoyer dd6bdf3c3f feat: upgrade Nextcloud package to version 29
The Nextcloud package in the x86_64-linux system has been upgraded from version 28 to version 29. This update introduces the latest features, improvements, and security fixes from the Nextcloud project.
2024-06-11 10:28:46 +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