Commit graph

239 commits

Author SHA1 Message Date
Harald Hoyer 0eacb615af feat: add m4nix VM
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-10 16:46:16 +01:00
Harald Hoyer 9952dd74e3 feat(aarch64): add initial configuration for NixOS on ARM
Introduced hardware and system configurations for the aarch64 NixOS system. Includes hardware setup, base system packages, and enabling key services such as Docker and Podman. This establishes the foundation for managing ARM-based systems.
2025-01-10 15:34:54 +01:00
Harald Hoyer f45a366528 refactor(sgx): rename internal host to openwebui
Updated ACME and nginx configurations to replace "internal.hoyer.world" with "openwebui.hoyer.world". This ensures correct routing and certificate management for the updated domain.
2025-01-08 15:18:42 +01:00
Harald Hoyer 049df580d3 flake update
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-14 09:11:11 +01:00
Harald Hoyer 1ddc13cda3 add imagemagick
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-14 09:09:02 +01:00
Harald Hoyer ed0a15c9f8 Move Alacritty configuration to user-specific Nix home module.
The Alacritty configuration was relocated from the darwin module to the user's specific home module. This improves modularity and allows for user-specific customization of the terminal settings.
2024-12-13 09:25:01 +01:00
Harald Hoyer 96e09ef294 Enable Alacritty and iTerm2 in the configuration.
This commit adds Alacritty and iTerm2 to the system configuration for aarch64-darwin. These changes enhance terminal options, improving flexibility and usability for developers.
2024-12-13 09:20:29 +01:00
Harald Hoyer 0ee2553d85 feat(alacritty): add theming and font configuration
Extended alacritty configuration to include font settings and color theming directly in the Darwin module. Removed redundant configuration from the home-specific Nix expression.
2024-12-13 09:19:27 +01:00
Harald Hoyer 47cf44ccfd refactor: improve formatting in Nextcloud and home config
Reformatted code blocks for better readability and consistency in Nextcloud and Darwin home configurations. No functional changes were made, ensuring existing behavior remains intact.
2024-12-13 09:19:09 +01:00
Harald Hoyer 960d6f935e feat(nixos): disable man cache generation by default
Disabled the automatic generation of man page caches to streamline default configuration. This change reduces unnecessary overhead for systems where caching is not required.
2024-12-13 08:41:22 +01:00
Harald Hoyer e760944a4d Update Alacritty font to JetBrainsMono Nerd Font
Replaces the previous JetBrainsMono font configuration with JetBrainsMono Nerd Font. This change ensures better compatibility with Nerd Font glyphs while maintaining the same font size.
2024-12-12 18:06:40 +01:00
Harald Hoyer e14826fefc Set JetBrainsMono as default font in Alacritty config
Updated the Alacritty configuration to use JetBrainsMono for all font styles (normal, bold, italic, and bold italic). This ensures a consistent and visually appealing font across the terminal. Font size remains unchanged at 17.
2024-12-12 17:52:10 +01:00
Harald Hoyer 3087b5360b feat(x1): add piper support and enable ratbagd service
Add the `piper` package to the build and enable the `ratbagd` service for managing gaming mice. This enhances device compatibility and configuration options.
2024-12-12 13:07:04 +01:00
Harald Hoyer b7ae1732f2 chore(x1): comment out kernel package override
Commented out the kernel package override to use the default kernel packages. This change might be necessary for testing or compatibility purposes.
2024-12-12 13:06:04 +01:00
Harald Hoyer 27d41ed91d feat(nextcloud): update service dependencies and apps
Include `config` in function parameters for better configurability. Removed unnecessary Nextcloud apps such as `files_texteditor`, `files_markdown`, `twofactor_backupcodes`, and `twofactor_totp` to streamline service setup.
2024-12-06 13:23:47 +01:00
Harald Hoyer aef4e331ae feat(nextcloud): add extra apps configuration
Enhance Nextcloud setup by enabling additional applications such as calendar, contacts, and notes. This change improves the service's functionality and usability by integrating essential productivity tools directly into the Nextcloud environment.
2024-12-06 13:20:39 +01:00
Harald Hoyer c9038f19e6 refactor: improve formatting in configuration files
Adjusted the parameter formatting in `acme.nix` and `nginx.nix` for better readability and consistency. The changes include standardizing the indentation and spacing for multiline declarations.
2024-12-06 13:20:31 +01:00
Harald Hoyer 1dde4c769e fix(network): add standard web ports to allowed TCP ports
Add ports 80 and 443 to the list of allowed TCP ports in the firewall configuration. This change ensures that HTTP and HTTPS traffic can pass through, which is essential for web services to operate correctly.
2024-12-06 10:46:36 +01:00
Harald Hoyer 95c68ccc7d fix(secrets): update sopsFile path for internetbs
Change the sopsFile path in acme.nix to point to the sgx directory instead of hetzner to ensure the correct configuration file is referenced. Added a new encrypted secrets file specific to the sgx directory to maintain security and confidentiality.
2024-12-06 09:50:56 +01:00
Harald Hoyer 818ae41e58 fix(nginx): correct proxyPass port conversion to string
Convert the port value to a string in nginx configuration to ensure correct proxyPass functionality. This change prevents potential runtime errors when using numeric port values directly in the proxyPass directive.
2024-12-06 09:45:52 +01:00
Harald Hoyer a4791bdb4f feat(nginx): add config argument to SGX NGINX module
Introduce the `config` argument to the SGX NGINX module to enhance configurability and integration. This change allows for more flexible usage of configurations that may rely on system-level settings. It prepares the NGINX module for more complex future modifications or integrations.
2024-12-06 09:40:11 +01:00
Harald Hoyer 26dd34a84d fix(openwebui): enable ssl for internal sgx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-12-06 09:39:25 +01:00
Harald Hoyer c65f89edf8 fix(openwebui): update OLLAMA_API_BASE_URL configuration
Update the OLLAMA_API_BASE_URL to ensure proper resolution with the full domain name `m4.fritz.box`. This change ensures that the API endpoint is correctly accessible within the network.
2024-12-06 09:12:27 +01:00
Harald Hoyer d188778574 feat(sgx): enable firewall opening for OpenWebUI
Added the `openFirewall` option set to true in the SGX OpenWebUI configuration. This change ensures that firewall rules are adjusted to allow access to the configured port. This enhances accessibility and simplifies setup for users.
2024-12-06 09:10:25 +01:00
Harald Hoyer d870cdf086 fix: correct typo in environment variable block
Corrected the spelling of "environment" from "enviroment" in the OpenWebUI configuration file. This change ensures the configuration is correctly interpreted, avoiding potential issues with environment variable settings.
2024-12-06 08:57:38 +01:00
Harald Hoyer 29ca755e06 feat: add OpenWebUI service configuration
Introduce a new NixOS configuration for the OpenWebUI service, enabling it by default on port 8080. The setup includes environment settings to disable telemetry and authentication, and it adds the openwebui.nix to the system modules.
2024-12-06 08:56:37 +01:00
Harald Hoyer b0f42bce29 fix(systemd): correct path for nixos-upgrade service
Change the working directory from `/root` to `/root/nixcfg` in the `nixos-upgrade` systemd service to ensure the correct configuration repository is used. This update prevents potential errors due to fetching and resetting in the wrong directory.
2024-11-29 17:07:52 +01:00
Harald Hoyer 1e5ceb6c73 feat(systemd): add git to nixos-upgrade service path
Include git in the `PATH` for the `nixos-upgrade` systemd service. This change ensures that the service can execute git commands during its operations. The path addition resolves issues related to unavailable git commands.
2024-11-29 17:06:07 +01:00
Harald Hoyer cd99b128d4 feat: add preStart hook for nixos-upgrade service
Introduce a preStart hook to the nixos-upgrade systemd service to ensure the local repository is updated before upgrades by fetching and resetting to the origin's HEAD. This enhances the reliability and consistency of the upgrade process. Also, maintain the commented out old flake path for backward traceability.
2024-11-29 17:04:24 +01:00
Harald Hoyer 82c7352bc2 set /root for mx
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 16:57:32 +01:00
Harald Hoyer e2150bb50f flake update
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 16:11:31 +01:00
Harald Hoyer 8f819299ed remove required from .gitattributes
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 15:45:57 +01:00
Harald Hoyer 59d92e568e mark filter as required
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 15:41:49 +01:00
Harald Hoyer 7a8aebc070 feat(nixos): configure global git settings for systemd
Add environment variables to set global, system, and default git configurations in the nixos-upgrade service. This change ensures that the service uses a consistent git configuration regardless of user-specific settings.
2024-11-29 15:33:41 +01:00
Harald Hoyer afc947f86f flake update
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 14:45:50 +01:00
Harald Hoyer 4390f2ae09 chore: remove redundant git filter rot8000 config
Remove duplicate configurations for the rot8000 git filter from both mx and base modules. This change helps to streamline the code by ensuring that the unnecessary and redundant configurations are eliminated.
2024-11-29 13:36:00 +01:00
Harald Hoyer b9762cf147 nix flake update
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 12:59:12 +01:00
Harald Hoyer 44c00b6468 darwin: enable vim
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-29 12:58:58 +01:00
Harald Hoyer 0767577099 Fix rot8000 2024-11-29 12:58:21 +01:00
Harald Hoyer 0101bf1140 feat(nextcloud): add support for JXL previews
Enable JXL (JPEG XL) format previews in Nextcloud configuration. This addition allows users to view and manage JPEG XL images directly within Nextcloud, enhancing the user experience with modern image formats.
2024-11-29 08:55:50 +01:00
Harald Hoyer 91a3e0c400 feat(x86_64-linux): add IPU6 platform configuration
Introduce a new module, ipu.nix, enabling IPU6 platform support. This change aids in configuring specific hardware settings and includes the setup for future kernel package adjustments. The IPU6 module is prepared for integration but is currently commented out in the imports for further testing.
2024-11-28 12:08:24 +01:00
Harald Hoyer f806db9a11 Remove unused configuration and commented code
Eliminated obsolete systemPath entry from Darwin services default configuration. Removed unused foreign-env plugin and commented code related to shell initialization in Fish configuration. Additionally, commented out unnecessary SSH configuration options in user-specific settings.
2024-11-28 10:53:57 +01:00
Harald Hoyer 3953362456 refactor: update configurations and fix inconsistent naming
Refactor various NixOS and home-manager configurations to improve consistency and readability. Correct naming inconsistencies, ensure proper indentation, and restructure Samba settings for better clarity and maintainability.
2024-11-28 10:01:53 +01:00
Harald Hoyer 26b76063e1 Enable Neovim in default configuration
This change activates Neovim in the home-manager configuration file for aarch64-darwin systems, specifically for the 'harald@m4' user. This ensures Neovim is included alongside other CLI applications like Bash and Fish.
2024-11-28 09:10:04 +01:00
Harald Hoyer 23acb92b3b feat(flake.nix): update Nixpkgs and Home Manager to 24.11
Updated the Nixpkgs and Home Manager inputs from 24.05 to 24.11. Removed the attic module and its dependencies, added mnw to neovim-flake. Refined Neovim configuration by disabling nvimCodeActionMenu and optimizing other settings.
2024-11-28 08:53:56 +01:00
Harald Hoyer de533e61a0 Remove unused dependencies from flake.lock
This commit prunes numerous unused dependencies from the `flake.lock` file, including various Neovim plugins and other repositories. This cleanup reduces clutter and potential maintenance overhead. The remaining dependencies are more relevant and streamlined.
2024-11-27 17:26:51 +01:00
Harald Hoyer 50f8db87eb Remove unnecessary SSH rsa key configuration
The `HostKeyAlgorithms +ssh-rsa` setting has been removed from the SSH configuration in the default Nix file. This change simplifies the config and helps ensure compatibility with modern security practices.
2024-11-27 17:26:15 +01:00
Harald Hoyer 836f4a2848 Add openssh to default dependencies
Added openssh to the default dependencies list in the Darwin services base module. This ensures that OpenSSH tools are available by default, enhancing remote access and security operations.
2024-11-27 17:25:56 +01:00
Harald Hoyer 58663a006a Update neovim-flake URL and version
Changed the neovim-flake URL to the new repository and updated its version from v0.5 to v0.6. This ensures we are using the latest configurations and features from the renamed repository.
2024-11-27 17:25:37 +01:00
Harald Hoyer bc266ec793 Update neovim-flake URL and version
Changed the neovim-flake URL to the new repository and updated its version from v0.5 to v0.6. This ensures we are using the latest configurations and features from the renamed repository.
2024-11-27 17:25:37 +01:00