Commit graph

31 commits

Author SHA1 Message Date
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 dc2b6a41a5 Update flake.lock and enable trezord service in default.nix
The flake.lock file has been updated with the latest modifications, including changes to the lastModified, narHash, and rev values for several Github repositories. Furthermore, the trezord service has been enabled in the default.nix file for the x1 system.
2024-06-17 15:14:54 +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 0a57bf37ef feat: 24.05 for everyone
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-11 10:15:15 +02:00
Harald Hoyer a7484b3891 feat: Move kernel package override to specific system configs
This commit moves the kernel package version override from the base nixos service to specific system configurations. Now, the latest linux packages will be used only in the system configurations where the override has been explicitly added. This approach gives us more flexibility to handle different kernel package versions for different systems.
2024-06-03 13:21:50 +02:00
Harald Hoyer 9c50d1379a feat: all besides mx to 24.05 2024-06-03 11:41:14 +02:00
Harald Hoyer 6331eb6277 feat: sgx-nixos to 24.05 2024-06-03 11:14:24 +02:00
Harald Hoyer 40ee6ff1f2 feat: nixos 24.05
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-03 11:06:26 +02:00
Harald Hoyer 1cd941d447 fix: update pccs_url in sgx_default_qcnl.conf
An extra comma is added to the pccs_url in the sgx_default_qcnl.conf file to correct a possible syntax error. This fix ensures the correct parsing of the JSON object.
2024-05-21 15:44:20 +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 bd2e13a215 feat: Add lidSwitch configuration to ignore in logind service
This commit includes a new lid switch configuration for the logind service within the SGX default configuration file. The lid switch has been set to "ignore", enhancing control over system behaviors upon lid actions.
2024-04-12 08:38:02 +02:00
Harald Hoyer 88dd896bc2 feat: Remove hd-idle systemd service in hardware configuration
The section specifying the systemd services for hd-idle has been removed in the hardware configuration file.
2024-04-11 16:28:20 +02:00
Harald Hoyer 86e5539c2f feat: Add 'docker' to user.extraGroups
In systems/x86_64-linux/x1/default.nix, 'docker' has been added to user.extraGroups. This allows the current user to manage Docker without needing root access.
2024-04-11 10:50:52 +02:00
Harald Hoyer c0991dbdd1 feat: add virtualization config to x86_64-linux system
This commit introduces virtualization configurations for docker and libvirtd in the x86_64-linux system. It also sets the podman.dockerCompat to false to avoid compatibility issues.
2024-04-11 10:48:50 +02:00
Harald Hoyer f9d045b883 Update SGX hardware configuration
This commit updates the hardware configuration for SGX systems. We have configured the available kernel modules list to include TPM-related modules. Also, unnecessary TPM2 security settings have been removed to clean up the configuration file.
2024-04-10 22:18:56 +02:00
Harald Hoyer e9034a7711 sgx: Disable Docker and enable Podman Docker compatibility
Docker has been disabled, with the Podman Docker compatibility feature being enabled instead to ensure system virtualization.
2024-04-10 22:13:19 +02:00
Harald Hoyer d5287f242e Enable TPM2 security in x86_64-linux SGX hardware configuration
The commit turns on the TPM2 security feature and its associated Access Broker and Resource Manager daemon (abrmd) in the hardware configuration for the x86_64-linux SGX system. This action, represented by changing the respective entries from false to true, enhances the security of this system configuration.
2024-04-10 22:10:34 +02:00
Harald Hoyer 4066b0cd80 sgx: unsgx and prevent sleep on lid close
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 21:46:05 +02:00
Harald Hoyer 7d0cf0ac60 sgx: set disks idle
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 21:45:22 +02:00
Harald Hoyer 30e7082344 sgx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-04-10 17:43:39 +02:00
Harald Hoyer 946f44ee51 sgx: don't use pccs
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-21 21:23:02 +01:00
Harald Hoyer bfeb26c5e0 sgx-nixos: add podman
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-21 16:52:35 +01:00
Harald Hoyer f4e2368893 A new start 2024-03-21 15:00:36 +01:00