Commit graph

245 commits

Author SHA1 Message Date
Harald Hoyer
ff89519ba5 chore(nix): enable RustDesk server on Darwin and X1
- Added `services.rustdesk-server.enable = true` to aarch64-darwin and x86_64-linux X1 configurations.
- Provides remote desktop functionality through RustDesk server.
2025-11-24 14:36:21 +01:00
4e67949e03 fix: headscale web proxy 2025-11-24 14:07:09 +01:00
caad1ddba9 Revert "chore(nix): enhance Nginx proxy settings for Headscale"
This reverts commit 2d0d03f845.
2025-11-24 13:57:00 +01:00
Harald Hoyer
2d0d03f845 chore(nix): enhance Nginx proxy settings for Headscale
- Added extra HTTP headers and security configurations in the Nginx proxy for Headscale.
- Improves websocket handling, security headers, and HTTPS redirection.
2025-11-24 13:54:52 +01:00
Harald Hoyer
8d6db08029 chore(nix): add OIDC configuration to Headscale
- Introduced OIDC settings in Headscale, including allowed domains, client ID, client secret path, and issuer.
- Enables support for OpenID Connect authentication.
2025-11-24 11:22:21 +01:00
Harald Hoyer
ef4ac5e228 chore(nix): fix property name in Headscale settings
- Corrected `baseDomain` to `base_domain` in the Headscale DNS settings.
- Aligns property naming with expected schema for proper configuration.
2025-11-21 16:24:28 +01:00
Harald Hoyer
2a810ce759 chore(nix): remove enableACME from Headscale Nginx config
- Dropped `enableACME` as it is redundant when `useACMEHost` is defined.
- Simplifies Nginx virtual host configuration for Headscale.
2025-11-21 16:23:53 +01:00
Harald Hoyer
129630c163 chore(nix): refactor Headscale service configuration
- Reorganized `settings` block to simplify and correct nesting.
- Updated function arguments to include variadic parameters for extensibility.
2025-11-21 16:22:56 +01:00
Harald Hoyer
62201776f3 chore(nix): add Headscale service to MX configuration
- Included `headscale.nix` in the MX system configuration for VPN management.
- Added Nginx and ACME configuration to route traffic securely to Headscale.
- Ensures Headscale is enabled with required settings and packaged in the system.
2025-11-21 16:15:51 +01:00
Harald Hoyer
db10d3d2c8 chore(nix): enable Tailscale on nixtee1 system
- Added `services.tailscale.enable = true` to the nixtee1 configuration for VPN support.
- Enhances secure connectivity and simplifies network
2025-11-21 15:11:56 +01:00
Harald Hoyer
36f3ebfcb3 chore(nix): enable Tailscale on SGX, MX, and X1 systems
- Added `services.tailscale.enable = true` to the configurations of SGX, MX, and X1 systems for VPN support.
- Improves secure connectivity and simplifies network management across these systems.
2025-11-21 14:54:07 +01:00
Harald Hoyer
1f5d2c1ce5 chore(nix): add OIDC app and webfinger redirect for Nextcloud
- Added OIDC app to Nextcloud with specific URL, SHA256, and license configuration for authentication support.
- Configured Nginx to redirect `.well-known/webfinger` to Nextcloud for improved compatibility.
- Updated Nextcloud settings to include `overwrite.cli.url` for proper URL handling.
2025-11-21 14:52:00 +01:00
Harald Hoyer
325f3bafbe chore(nix): update Nextcloud to version 32
- Bumped `services.nextcloud.package` from `nextcloud31` to `nextcloud32`.
- Ensures compatibility with updated Nextcloud features and improvements.
2025-11-21 13:08:25 +01:00
Harald Hoyer
8203c909ad chore(nix): update CPU governor to performance
- Changed `powerManagement.cpuFreqGovernor` from `ondemand` to `performance` for enhanced CPU performance.
- Aligns system configuration with performance optimization goals.
2025-11-14 10:10:29 +01:00
43f72bf1ad feat(security): disable TPM2 support in nixtee1
- Disabled `security.tpm2.enable` and `security.tpm2.abrmd.enable` options.
- Ensures TPM2-related services are not active on the system for this configuration.
2025-11-14 07:44:38 +01:00
5b0cab98d5 feat(systems): enable email notifications on failure
- Added `emailOnFailure.enable` option to metacfg with a default of `false`.
- Enabled email notifications on failure for SGX and MX systems.
- Enhanced `systemd-email-notify` module to support the new configuration.
2025-11-14 07:42:28 +01:00
Harald Hoyer
babf38d817 chore(nix): switch bootloader to GRUB
- Disabled Systemd-boot and enabled GRUB as the bootloader with OS probing.
- Configured GRUB to use `/dev/vda` as the target installation device.
2025-11-13 16:16:37 +01:00
Harald Hoyer
811457161a chore(nix): refactor SGX configuration for nixtee1
- Removed SGX-specific settings including `aesmd_dcap`, `sgx_default_qcnl.conf`, and `security.tpm2` configurations.
- Updated `system.stateVersion` and switched kernel modules to `kvm-amd`.
- Adjusted disk UUIDs and removed unused `/boot` filesystem definition.
2025-11-13 16:01:58 +01:00
440cf540eb feat(sgx): adjust tmpfs usage for better configuration
- Set `boot.tmp.useTmpfs` to `false` in `x86_64-linux/sgx/default.nix`.
- Applied `lib.mkDefault` to `boot.tmp.useTmpfs` in `services/base/default.nix` for consistency.
2025-09-28 08:19:45 +02:00
3b0809697d feat(sgx): add claude-code 2025-09-22 16:56:38 +02:00
76ead2d77c feat(sgx): enable nix-ld 2025-09-19 10:24:09 +02:00
Harald Hoyer
8d03b05ffb feat(sgx): add cratedocs-mcp service and update flakes
- Enabled `services.cratedocs-mcp` with firewall access in the SGX module for enhanced functionality.
- Updated multiple Flake lockfile entries to the latest revisions, ensuring access to updated upstream changes.
2025-09-17 15:57:18 +02:00
Harald Hoyer
15e61b339c refactor(x1): remove unused IPU6 module
- Deleted `ipu.nix` and its reference in `default.nix` under `x1` systems.
- Simplifies configuration by removing unused and commented-out code.
2025-09-11 14:35:38 +02:00
Harald Hoyer
dc3a536709 feat(sgx): enable GUI in SGX module
- Changed `gui.enable` to `true` in the SGX default configuration.
- Allows GUI support within the SGX environment for improved usability.
2025-09-11 14:31:40 +02:00
Harald Hoyer
0fb0cfae93 refactor(gnome): relocate remote desktop configuration
- Moved GNOME remote desktop settings from `x1` module to GUI services module.
- Centralizes related configurations for better maintainability.
2025-09-11 14:31:13 +02:00
1ae46cd7b8 feat(x1): open firewall ports for remote desktop
- Allowed TCP and UDP port 3389 in the firewall configuration.
- Ensures proper functionality of gnome-remote-desktop on the x1 system.
2025-09-11 13:39:28 +02:00
296aac6864 feat(x1): configure gnome-remote-desktop systemd service
- Added `wantedBy = ["graphical.target"]` to the `gnome-remote-desktop` service configuration.
- Ensures the service starts automatically with the graphical session.
2025-09-11 13:36:54 +02:00
61d5c8416e feat(x1): enable gnome-remote-desktop service
- Enabled `gnome-remote-desktop` to allow remote desktop connectivity by default on the `x1` system.
- Improves accessibility and remote management for the system.
2025-09-11 13:32:18 +02:00
2cffb1bc35 feat(x1): add gnome-remote-desktop 2025-09-11 13:21:16 +02:00
bccc0a57c3 feat(x1): add nixos-hardware.nixosModules.lenovo-thinkpad-x1-11th-gen 2025-09-08 15:45:01 +02:00
b405c7e906 feat(x1): add 'tss' group to user extraGroups
- Included `tss` group in `user.extraGroups` to grant necessary permissions.
- Ensures proper functionality and aligns with updated requirements.
2025-08-14 09:21:07 +02:00
acf6c32df8 fix(x1): kernel does not compile
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-07-31 13:30:04 +02:00
d5f4c3035e feat(sgx): update Samba configuration for protocol and macOS
- Set minimum protocol to SMB2 and enabled extended attribute (EA) support in Samba settings.
- Added `fruit:nfs_aces` and `fruit:wipe_intentionally_left_blank_rfork` options for improved macOS compatibility.
2025-07-30 14:16:48 +02:00
f08881f303 feat(sgx): rename Time Machine share key in Samba config
- Changed the `time-machine` key to `TimeMachineBackup` in the Samba share configuration.
- Aligns key naming to standard conventions and improves readability.
2025-07-30 14:00:21 +02:00
1338ced84f feat(sgx): disable Avahi service in fileserver configuration
- Set `services.avahi.enable` to `false` in `fileserver.nix`.
- Ensures Avahi is disabled, aligning with updated system requirements.
2025-07-30 13:56:33 +02:00
959e82bcee feat(sgx): disable Netatalk and enhance Samba configuration
- Disabled Netatalk service by setting `enable` to `false`.
- Improved macOS compatibility in Samba with specific `fruit` and `vfs` options.
- Added a new Time Machine share configuration for backups.
2025-07-30 13:27:03 +02:00
f41c21344e chore(mailserver): update password hashing method
- Changed default hashing method in `mkpasswd` command to `sha-512`.
- Ensures stronger security compared to the previous bcrypt method.
2025-07-29 15:54:38 +02:00
d9097dbd72 feat(x1): increase freeze timeout and remove cloudflare-warp
- Added `power.pm_freeze_timeout` kernel setting with a value of 30000 to extend system freeze timeout.
- Removed `cloudflare-warp` from system packages and systemd packages for cleanup.
2025-07-28 14:10:21 +02:00
d3ae0e90ba feat(x1): add fabric-ai to system packages
- Added `fabric-ai` to the `environment.systemPackages` list for x1.
- Ensures availability of the `fabric-ai` tool in the x1 system configuration.
2025-07-07 09:44:48 +02:00
4c11f744c7 chore(x1): reorder systemPackages for better readability
- Reorganized the `environment.systemPackages` list alphabetically.
- Ensured no functional changes to the x1 system configuration.
2025-07-07 09:43:52 +02:00
b23f555241 chore(x1): remove piper from application list
- Dropped `piper` from the x1 system configuration.
- Ensured minimal impact on related dependencies and applications.
2025-07-03 13:02:13 +02:00
230c6322e0 feat(x1): enable ipu and add new applications
- Enabled `ipu.nix` in the x1 system configuration.
- Added `piper-tts`, `libcamera`, and `gnome-terminal` to the application list.
2025-07-03 12:59:58 +02:00
620ac9bd68 feat: add gemini-cli to x1 system and overlays
- Introduced `gemini-cli` as a CLI tool in the x1 configuration.
- Added a new overlay for `gemini-cli` package with npm dependencies.
- Removed `goose-cli` and `aider-chat` from the existing application list.
2025-06-26 13:50:06 +02:00
36ed41047d feat(x1): enable cratedocs-mcp service and update dependencies
- Enabled the cratedocs-mcp service in the x1 configuration.
- Added `cratedocs` as a new flake input and included its modules and overlay.
- Updated multiple flake inputs (`nixpkgs`, `rust-overlay`, etc.) with new revisions.
2025-05-28 09:41:21 +02:00
d700d4b8e3 feat(kernel): adjust inotify limits for JetBrains IDEs
- Removed inotify sysctl settings from hardware configuration.
- Added updated inotify limits under GUI services for JetBrains IDEs.
This ensures better compatibility and performance for these tools.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-05-27 13:59:08 +02:00
f77bad4bf0 feat(sgx): add support for "m4" configuration
Included "m4" in the list of supported configurations for SGX. This enhances compatibility and enables additional use cases for the fileserver.
2025-05-21 10:00:39 +02:00
5893c5b84c chore(sgx): turn off libvirtd 2025-05-21 09:56:12 +02:00
2e28118edf fix(mail.nix): update virtual alias mappings for root/admin
Adjusted the virtual_alias_maps to properly include both root and admin email forwarding. Removed unused rootAlias line and ensured the configuration aligns with intended email routing behavior.
2025-05-21 09:41:36 +02:00
0a4b80c860 refactor(mail): comment out rootAlias and update alias mapping 2025-05-21 09:33:42 +02:00
ac0eef954d feat(mail): configure Postfix relay with SOPS encrypted secrets
Added configuration for Postfix to use an external SMTP relay with encrypted credentials managed by SOPS. Updated `mail.nix` to include relay settings and linked the secrets file for password storage.
2025-05-21 09:30:30 +02:00