Commit graph

142 commits

Author SHA1 Message Date
Harald Hoyer fd150b5133 feat: Remove dnsProvider in acme.nix
This commit removes the dnsProvider property from the "varlink.org" configuration within the acme.nix file. This step contributes to system simplification and potential adaptability improvements.
2024-07-05 08:29:32 +02:00
Harald Hoyer 2ff75f77be feat: Add new domain to acme.nix
Added "herward-hoyer.de" as a new domain in the acme.nix file. Set "internetbs" as the DNS provider and added "*.herward-hoyer.de" to the extra domain names.
2024-07-04 16:44:41 +02:00
Harald Hoyer 11f5887eeb feat: Update default DNS provider and domain configurations
The DNS provider has been changed from "internetbs" to "cloudflare". Moreover, configurations for multiple domains have been updated and expanded, including "mx.surfsite.org", "surfsite.org", "hartwin-hoyer.de", "varlink.org", "hoyer.xyz", and others.
2024-07-04 16:43:17 +02:00
Harald Hoyer 17dc0aa1cb feat(acme.nix): add Cloudflare as DNS provider
A new DNS provider, Cloudflare, has been added to the configuration for domain "harald-hoyer.de" in the acme.nix file. This change will affect the handling of DNS requests for this domain.
2024-07-04 16:35:52 +02:00
Harald Hoyer b273548370 feat: Add new domain in acme.nix
The commit includes the addition of the "meike-hoyer.de" domain to the acme.nix file, using "cloudflare" as the DNS provider. This update enhances the system's domain coverage.
2024-07-04 15:24:38 +02:00
Harald Hoyer 4bfa600291 feat: Add 'meike-hoyer.de' to mail server configuration 2024-07-04 13:40:32 +02:00
Harald Hoyer f1b9120991 feat: Remove myprivacy.tools from mailserver configuration
This update removes the myprivacy.tools domain from the configuration of the mailserver. As a result, no incoming or outgoing messages will be processed for this domain. Also, all email addresses related to myprivacy.tools were also removed.
2024-07-01 16:44:53 +02:00
Harald Hoyer a14d98c710 feat: Add new substituter and trusted key in various modules
This commit introduces a new substituter 'https://attic.teepot.org/tee-pot' and its associated trusted key 'tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg='. The changes affect the Nix, aesmd_dcap, home settings, and pccs modules. This update provides additional package sources for these modules.
2024-06-28 14:33:05 +02:00
Harald Hoyer a1a951bc9e feat: Extend garbage collection retention in atticd
This commit changes the default retention period for garbage collection in the attic daemon setting from 30 days to 3 months. This will allow the system to maintain data for a longer period before cleaning.
2024-06-28 13:53:51 +02:00
Harald Hoyer 31dfb73435 feat: Add garbage collection interval setting in atticd.nix
This commit introduces a new parameter for setting the garbage collection interval in the atticd.nix file. The garbage collection interval is set to run every 30 days, helping to manage unnecessary data and improve system performance.
2024-06-28 13:26:21 +02:00
Harald Hoyer 858507bb06 feat: add API endpoint to atticd settings
The atticd settings in systems/x86_64-linux/sgx-nixos have been updated to include an API endpoint. The primary purpose of this change is to ensure that atticd infrastructure can successfully connect to the new endpoint at https://attic.teepot.org.
2024-06-28 13:22:29 +02:00
Harald Hoyer 5a362acdd3 feat: Add attic-client to x86_64-linux system
The attic-client has been added to the packages for the x86_64-linux system. This change enables interaction with the Attic distributed storage system, expanding the capabilities of this system setting.
2024-06-28 13:10:00 +02:00
Harald Hoyer 97e7a73c94 feat: Add attic-client to x86_64-linux system
The attic-client has been added to the packages for the x86_64-linux system. This change enables interaction with the Attic distributed storage system, expanding the capabilities of this system setting.
2024-06-28 12:38:53 +02:00
Harald Hoyer 481e8ca6cf feat: Update firewall settings in SGX-NixOS
This commit allows TCP traffic on port 8080 and permits ICMP echo requests for ping command in SGX-NixOS. Moreover, the necessary code adjustments have been made in the default.nix file.
2024-06-28 12:17:40 +02:00
Harald Hoyer f20e87cd50 feat: Add attic-client to system packages in atticd.nix
This commit includes the addition of attic-client to environment.systemPackages in atticd.nix for x86_64-linux systems. The
2024-06-28 11:29:07 +02:00
Harald Hoyer fd9cac76a8 feat: Update dependencies in flake.lock
This commit updates the revision and hashes of several dependencies in flake.lock. It includes updates to "nix-darwin", "disko", "nixpkgs", and "sops-nix", ensuring they are up-to-date with their respective repositories.
2024-06-28 11:04:07 +02:00
Harald Hoyer 3c58dfb400 feat: Add atticd service to sgx-nixos system
This commit includes the atticd service to the sgx-nixos system. The `atticd.nix` file has been added with default configuration and the attic service has been included in imports in `default.nix`. Modifications were made in `flake.nix` and `flake.lock` to integrate attic dependencies.
2024-06-28 11:01:44 +02:00
Harald Hoyer 2629021f33 feat: Add k9s to x86_64-linux system packages
A new package, k9s, has been added to the default packages for x86_64-linux system. This effort is to enhance the overall system functionality and user experience.
2024-06-28 09:17:11 +02:00
Harald Hoyer c4e14cab05 docs: Update README install instructions
The installation guide in the README file has been modified for clarity. The phrase 'Install system' is updated to 'Install a system' to improve readability and understanding.
2024-06-27 16:30:54 +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 b437541252 feat: Update nix runner docker image URL
This commit updates the docker image URL for the nix runner in the forgejo.nix configuration. The new URL points to the image hosted at git.hoyer.xyz/harald/nix-runner:latest. This change is
2024-06-27 15:12:12 +02:00
Harald Hoyer 3eba20c0dc feat: Increase nginx clientMaxBodySize limit
Increased the clientMaxBodySize in nginx configuration from 100M to 1000M. This change allows larger client request bodies,
2024-06-27 14:53:01 +02:00
Harald Hoyer 0a0ae0db8c feat: increase nginx client max body size
This change updates the nginx configuration in the x86_64-linux system. It adds a new parameter, clientMaxBodySize, which is set to allow larger payloads of up to 100M, improving our capacity to handle bigger client requests.
2024-06-27 14:51:12 +02:00
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 2b559eb9ad fix: correct indentation in systemd service definitions
Corrects the indentation in the systemd service and timer definitions within the default.nix configuration file. This improves the readability and maintenance of the code.
2024-06-27 13:16:11 +02:00
Harald Hoyer 8cd5ce67a9 feat: Update hetzner runner token and modify its timestamp
The runner token in the Hetzner secrets configuration file has been updated. Additionally, the last modified timestamp has been changed to reflect the latest modifications.
2024-06-27 13:07:18 +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 b50c8aee66 feat: Remove warp-svc auto-start from x86_64-linux configuration
The system's configuration for x86_64-linux architecture has been modified. Specifically, warp-svc will not be started automatically anymore, as its reference in the "wants" section of "multi-user" targets in systemd configuration has been removed.
2024-06-27 12:28:07 +02:00
Harald Hoyer 86c676062c feat: Comment out systemd.user.services in default.nix
The systemd.user.services block in the default.nix file has been commented out. This change is vital if the associated services are not meant to be used or activated, avoiding any potential conflicts or issues.
2024-06-25 11:13:50 +02:00
Harald Hoyer a6460fede4 feat: Require password for sudo wheel users
The default value for `wheelNeedsPassword` has been changed to `true` in `base/default.nix`. The redundant entry in `gui/default.nix` setting `wheelNeedsPassword` to `true` was removed as it is now enforced by the base module.
2024-06-25 11:03:16 +02:00
Harald Hoyer 1033d30619 fix: replace gc with nix.gc for mx 2024-06-25 10:39:55 +02:00
Harald Hoyer e9076baeee feat: Require password for sudo wheel group
This change updates the settings in the GUI module for the sudo wheel group. The security policy has been modified to require a password when a member of the wheel group attempts to use sudo.
2024-06-25 10:36:32 +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 58dd6f0e63 feat: Set default for sudo wheelNeedsPassword in base and gui services
The update modifies the default setting for the 'sudo wheelNeedsPassword' option in both the base and gui modules/services. Now, the base service has 'sudo wheelNeedsPassword' marked as a default option and disabled by default in the gui service.
2024-06-25 10:06:08 +02:00
Harald Hoyer 8ec7849a21 feat: add kubectx to x86_64-linux system packages 2024-06-24 17:27:30 +02:00
Harald Hoyer d0e539f23f feat: Add new system packages and update flake.lock
New system packages including azure-cli, cloudflare-warp, desktop-file-utils, and kubectl have been added to the environment. The systemd has been configured for cloudflare-warp. Additionally, version updates were made in flake.lock with revised hashes and revisions.
2024-06-24 16:13:56 +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 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 6b9d04bb59 feat: remove "--refresh" flag from autoUpgrade
This commit removes the "--refresh" flag from the system.autoUpgrade field in the default.nix file. The update function will now rely on the remaining flags only.
2024-06-12 10:54:13 +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