Commit graph

219 commits

Author SHA1 Message Date
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
Harald Hoyer 5ee726a22e 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 7436a7b5e7 Toggle menu bar hiding to false in macOS config
This change modifies the NSGlobalDomain settings to make the menu bar always visible by setting `_HIHideMenuBar` to false. This ensures a consistent user interface by keeping the menu bar accessible at all times.
2024-11-27 17:25:37 +01:00
Harald Hoyer 4131d726d5 feat: enable direnv tool and disable ollama service
Enable direnv under the tools configuration with a commented-out git tool. Disable the ollama service, changing its enable flag from true to false.
2024-11-26 08:53:18 +01:00
Harald Hoyer 8629411382 Add onActivation settings to aarch64-darwin/m4
Introduce 'cleanup', 'autoUpdate', and 'upgrade' options under the onActivation section for improved manageability. Additionally, remove unused homebrew configuration from modules/darwin/nix/default.nix.
2024-11-25 16:34:59 +01:00
Harald Hoyer 3390c39901 Update masApps and add Homebrew shell initialization
Convert masApps from list to set for better structure consistency. Add initialization for Homebrew in the Fish shell to ensure the environment is correctly set up.
2024-11-25 16:00:27 +01:00
Harald Hoyer 18e641daf8 Add 'mas' to Homebrew configuration in aarch64-darwin
This commit updates the default Homebrew configuration to include 'mas' alongside 'libusb' for the aarch64-darwin system. It also introduces an empty 'masApps' array for potential future use.
2024-11-25 15:47:08 +01:00
Harald Hoyer 6eb15730d3 Add nix-homebrew configuration to flake.nix
Introduce nix-homebrew plus homebrew-core, homebrew-cask, and homebrew-bundle repositories. Also, enable nix-homebrew.darwinModules.nix-homebrew for the NixOS system configuration.
2024-11-25 15:42:55 +01:00
Harald Hoyer 8245b238ec Refactor alacritty.toml configuration for clarity
Reformat the configuration generation to enhance readability and ensure consistent indentation. This change does not alter functionality, but aligns the style with the rest of the codebase.
2024-11-25 15:42:42 +01:00
Harald Hoyer a8acb0900b Enable Homebrew for aarch64-darwin
Added configuration to enable Homebrew on aarch64-darwin systems. Created a new module for managing Homebrew settings and added support for declarative tap management.
2024-11-25 15:41:54 +01:00
Harald Hoyer cbe03d1060 Rename and refactor Darwin-specific modules
Renamed several modules to better align with Darwin-specific configurations. Refactored configuration for Alacritty and removed it from system packages where not needed. Introduced Homebrew settings and cleaned up redundant entries in multiple Nix files.
2024-11-25 14:22:52 +01:00
Harald Hoyer f5670d2c0e Add Zsh shell to Darwin services and setup Harald's dev environment
Add Zsh to the list of available shells in the Darwin services module.
Introduce new Nix configurations for aarch64-darwin, including system packages and font settings.
Set up user-specific environment for Harald on aarch64-darwin system.
2024-11-25 12:42:21 +01:00
Harald Hoyer 4292f4c334 Format kernelModules array
Reformatted the boot.kernelModules array for better readability. This change enhances the clarity of the list and follows more consistent coding practices across the configuration file.
2024-11-25 12:31:48 +01:00
Harald Hoyer bad907bf04 feat: add amdgpu support and update DRI_PRIME config
Added `amdgpu` to the kernel modules to provide support for AMD GPUs. Updated the `DRI_PRIME` environment variable to specify the correct PCI device.
2024-11-22 09:47:27 +01:00
Harald Hoyer 08aae1a581 feat: add environment variables for ROCm and libva
Included HSA_OVERRIDE_GFX_VERSION for ROCm acceleration. Added LIBVA_DRIVER_NAME and commented NIXOS_OZONE_WL to environment.sessionVariables settings.
2024-11-19 12:30:03 +01:00
Harald Hoyer e094566801 feat(gui): add ROCm support via systemd tmpfiles rules
Introduce ROCm support by symlinking ROCm packages in /opt/rocm. Also, comment out unused session variables.
2024-11-19 10:40:51 +01:00
Harald Hoyer 900f95169f nix fmt
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-19 10:31:29 +01:00
Harald Hoyer a3187e163d more opengl hw support 2024-11-19 10:30:42 +01:00
Harald Hoyer 0d5229036a add ollama 2024-11-19 10:28:30 +01:00
Harald Hoyer 5aaa1fb417 feat: switch to nixfmt-rfc-style for formatting
Updated the code formatter from nixpkgs-fmt to nixfmt-rfc-style in flake.nix. This change aims to align with RFC formatting standards.
2024-11-19 09:00:28 +01:00
Harald Hoyer 6416f5b8db feat: set default shell to fish for user harald
Added configuration to set fish as the default shell for user harald. This improves user experience by providing a more friendly and powerful shell environment.
2024-11-19 08:26:05 +01:00