Commit graph

127 commits

Author SHA1 Message Date
Harald Hoyer 0e90740228 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-29 12:10:02 +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 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 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 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 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 900f95169f nix fmt
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-11-19 10:31:29 +01:00
Harald Hoyer 0d5229036a add ollama 2024-11-19 10:28:30 +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
Harald Hoyer 7bb3d87ced feat(nextcloud): add maintenance window start setting
Introduces a new configuration for setting the maintenance window start in the Nextcloud settings. This ensures better scheduling and coordination for maintenance activities.
2024-11-13 09:40:54 +01:00
Harald Hoyer b71b46bdb0 feat(nextcloud): log_type = "file" 2024-11-13 09:28:00 +01:00
Harald Hoyer cc59bd6567 feat: increase NOFILE and MEMLOCK limits in sgx-nixos
Added systemd and PAM configuration to set NOFILE and MEMLOCK limits to 32768. This change enhances the system's capability to handle a larger number of open files and memory-locked segments.
2024-10-23 10:21:20 +02:00
Harald Hoyer 707550547e fix: update NOFILE limit in systemd and PAM configurations
Increased the file descriptor limit (NOFILE) from 32000 to 32768 in systemd and PAM settings. This adjustment aligns system limits with higher resource demands.
2024-10-23 10:20:38 +02:00
Harald Hoyer d2f9061752 feat(x86_64-linux): increase file descriptor and memory limits
Added configuration to increase the system-wide file descriptor limit and memory lock limit. This change involves updating systemd and PAM settings to enhance resource management.
2024-10-23 10:16:01 +02:00
Harald Hoyer 36cd114e72 feat(sgx): enable IPv4 and IPv6 support for Avahi
Updated Avahi service configuration to support both IPv4 and IPv6 addressing. This change includes enabling nssmdns4 and nssmdns6, along with setting ipv4 and ipv6 to true.
2024-10-16 14:43:36 +02:00
Harald Hoyer 82c476bd75 refactor: reorder nextcloud.nix configurations
Reorganized the configuration blocks for better readability. The `enabledPreviewProviders` list and `phpOptions` section now follow a more logical structure.
2024-10-16 14:43:00 +02:00
Harald Hoyer af5c62eb4b feat(services): add dedicated PostgreSQL module
Introduce a dedicated PostgreSQL configuration module to the system. Adjust Nextcloud and Forgejo configurations to utilize this new module.
2024-10-15 08:58:47 +02:00
Harald Hoyer 6d2951155c feat(nextcloud): update package to nextcloud30
Upgrade Nextcloud package from version 29 to 30. This ensures compatibility with new features and improvements in Nextcloud 30.
2024-10-14 14:26:04 +02:00
Harald Hoyer 92cdf3d349 feat(nextcloud): add WEBP format to supported previews
This commit enhances the Nextcloud configuration by enabling previews for WEBP image files. It adds "OC\\Preview\\WEBP" to the list of supported preview formats.
2024-09-27 16:50:03 +02:00
Harald Hoyer 3d334bd98c feat(nextcloud): add preview provider options and ffmpeg
Include ffmpeg in system packages to support media processing. Enable various preview providers for enhanced file previews in Nextcloud.
2024-09-27 16:40:06 +02:00
Harald Hoyer 442dc5f697 feat(coturn): enhance coturn and firewall config
Update coturn service configuration with new port ranges and enhanced security options. Also, add ACME support for certificate management and configure firewall to allow necessary ports.
2024-09-17 11:06:20 +02:00
Harald Hoyer ac082f77b0 feat(coturn): set owner and add restart units for secrets
Ensure the coturn static-auth-secret has the correct owner and specifies restart units. This enhances security by assigning ownership and improves reliability by ensuring relevant units restart when secrets change.
2024-09-17 10:30:12 +02:00
Harald Hoyer da780be326 fix(coturn): correct attribute names and import configuration
Change 'coturn' to 'services.coturn' and renamed 'hostname' to 'hostName'. Added 'coturn.nix' to the default imports in the main configuration file.
2024-09-17 10:19:55 +02:00
Harald Hoyer c894294ce3 feat(coturn): introduce coturn configuration
Add coturn service definition for x86_64-linux systems with static-auth-secret and additional settings for Nextcloud integration. Includes secrets management via `sops` and secure TLS configurations.
2024-09-17 10:14:33 +02:00
Harald Hoyer 85a03f633a feat(x86_64-linux): add user to dialout group
Updated configurations for x1 and t15 to include 'dialout' in user.extraGroups. This change allows users to access serial devices.
2024-08-28 14:42:09 +02:00
Harald Hoyer 15963f0554 feat: enable discard support for LUKS devices
Updated LUKS device configurations to include allowDiscards option. This allows the system to send discard/TRIM commands to LUKS devices for better performance.
2024-08-26 10:14:18 +02:00
Harald Hoyer 4c100acb27 fix: remove extraneous newlines in hardware-configuration.nix
Removed unnecessary blank lines to improve readability and maintain consistency with the formatting guidelines. This change does not impact functionality but cleans up the code.
2024-08-26 10:14:03 +02:00
Harald Hoyer 0cae58b515 feat: use latest kernel packages
Added configuration to use the latest kernel packages for boot. This change ensures the system benefits from the most recent updates and security patches.
2024-08-08 09:59:42 +02:00
Harald Hoyer 7775fd266d fix: correct syntax error in resolved extraConfig
The extraConfig for resolved had an incorrect semicolon causing configuration issues. This change removes the semicolon to ensure proper configuration loading.
2024-08-06 09:07:40 +02:00
Harald Hoyer 31323f340f refactor: streamline kernel boot parameters
Remove insecure and redundant kernel boot options. This enhancement improves system security by defaulting to standard mitigations and settings.
2024-08-03 16:15:21 +02:00
Harald Hoyer cd69324e48 feat: add Syncthing ports configuration
Added TCP and UDP ports for Syncthing to the firewall configuration. Configured Syncthing GUI to listen on all addresses at port 8384.
2024-08-03 15:58:30 +02:00
Harald Hoyer 7b7cebb658 feat: enable Syncthing service on fileserver
Enabled the Syncthing service in the fileserver configuration. Set the user to 'harald' and specified directories for data and configuration.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-08-03 15:53:37 +02:00
Harald Hoyer 5bbd996207 fix: correct xserver keyboard variant configuration
Changed the keyboard variant configuration in xserver to include a trailing comma. This ensures the variant setting is correctly parsed by the xserver.
2024-08-01 11:18:00 +02:00
Harald Hoyer d8ab5afa22 fix(hardware-config): correct closing bracket indentation
Corrected the indentation of the closing bracket in the hardware configuration. This improves readability and consistency in the code format.
2024-07-25 13:53:52 +02:00
Harald Hoyer 20f610b628 feat: add extraConfig for systemd-resolved
Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section.
2024-07-25 13:53:45 +02:00
Harald Hoyer d44ef254fa feat: update allowed TCP port in sgx network configuration
This commit updates the allowed TCP port for networking in the SGX configuration file. Instead of hardcoding the port number, it now uses the port specified in the netatalk configuration. This change enables more flexibility in port assignment and reduces potential conflicts.
2024-07-19 11:45:38 +02:00
Harald Hoyer 5615b246b6 feat: Modify keyboard layout in x86_64-linux hardware configuration
The configuration update for the x86_64-linux t15 hardware adds a US layout variant to the existing German keyboard configuration. This change will allow switching between US and German keyboard layouts as per user requirements.
2024-07-19 11:45:24 +02:00
Harald Hoyer fc478e4639 refactor: Update xserver keymap configuration in hardware configuration file
This commit updates the hardware configuration file for the x86_64-linux system. Specifically, it modifies the xserver keymap settings, ensuring proper keymap configuration for 'de' layout with 'nodeadkeys' variant in the x86_64-linux system.
2024-07-18 10:15:45 +02:00
Harald Hoyer 96e66ebad4 feat: Add several boot options in hardware config
Multiple boot options have been added in the hardware-configuration for the x86_64-linux system. This includes unsafe secrets mitigation options, such as 'noibrs', 'noibpb', 'nopti', etc., to potentially enhance system performance.
2024-07-18 10:06:41 +02:00
Harald Hoyer 45433d0622 feat: Enable home printer setup
Created a new module for home printer setup and enabled it on x86_64-linux systems. The module configures printing drivers and ensures that printers are set up properly. In addition, moved specific printer configurations into the newly created homeprinter module.
2024-07-11 15:06:41 +02:00
Harald Hoyer 55d2bdc640 feat: add printer configurations and services
This commit adds configurations for two printers (Brother DCP-L2530DW and Canon MG6300 series) in the nix file. It also enables printing services and resolves DNSSEC degradation. This ensures a more seamless and secure printing experience.
2024-07-11 13:31:46 +02:00