Commit graph

174 commits

Author SHA1 Message Date
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
Harald Hoyer 6e5fef359d refactor: reorder system defaults after activation script
Moved the system defaults configuration block to follow the system activation script definition. This change organizes the code better, improving readability and maintainability.
2024-11-18 15:20:40 +01:00
Harald Hoyer 4cbfc5bd94 feat: add script to manage system applications
Introduce a script to organize applications under /Applications/Nix Apps. This setup improves the management and accessibility of system applications by creating aliases for them.
2024-11-18 15:04:52 +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 3fac109ee8 feat(git): update dlog alias to include patch option
The dlog alias now includes the '-p' flag to display patch output by default. This change helps users see inline differences along with the log entries.
2024-11-12 09:08:48 +01:00
Harald Hoyer e5b51de881 feat: add difftastic tool and git aliases
Added difftastic to the list of Git-related tools. Created aliases (dlog, dshow, ddiff) for enhanced diff viewing with difftastic.
2024-11-12 09:07:59 +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 96aa5953e6 feat: enable recursive submodule initialization in git config
Set `submodule.recurse` to true in the git configuration. This change ensures that all submodules are automatically initialized and updated recursively.
2024-10-16 15:01:09 +02:00
Harald Hoyer ed649d35e8 feat(git): enable recursive submodule update by default
Added `submodule.recurse = true` to the git configuration in NixOS. This change ensures that submodules are automatically updated recursively.
2024-10-16 14:57:30 +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 1e96221b75 feat(homeprinter): enable Avahi service and configure firewall
Enable Avahi service to support mDNS for both IPv4 and IPv6. Add mDNS port 5353 to the allowed UDP ports in the firewall to ensure network discovery.
2024-10-16 14:43:21 +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 03f6fcbd64 chore: comment out NIXOS_OZONE_WL environment variable
Disable the NIXOS_OZONE_WL environment variable in session variables to avoid potential conflicts. This change ensures the stability of the GUI service while leaving the intel-media-driver configuration untouched.
2024-10-07 09:14:33 +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 212070241a refactor: update coturn.yaml structure
Moved static-auth-secret under new 'coturn' key. Updated lastmodified timestamp and mac value accordingly.
2024-09-17 10:21:56 +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 f4c89c2adf feat(gui): add support for Intel media driver and Wayland tweaks
Enabled Intel media driver support and set environment variables for better compatibility with Wayland. Also updated MPV configuration for hardware decoding and GPU settings.
2024-09-17 10:13:07 +02:00
Harald Hoyer 66ed38df82 feat(gui): enable OpenGL with additional packages
Move and enhance OpenGL configuration in GUI services. The configuration now includes onevpl-intel-gpu and retains intel-compute-runtime from base services.
2024-09-16 10:22:32 +02:00
Harald Hoyer d7a5993121 feat(git): Add SSL CA info configuration
Configured Git to use the system's CA certificates for SSL verification. This ensures secure connections to remote repositories.
2024-09-04 13:37:01 +02:00
Harald Hoyer 3280781536 feat(git): configure custom SSL CA certificate for HTTP
Added an HTTP SSL CA certificate configuration to enhance security and ensure trusted connections. This change sets the CA certificate file path to '/etc/ssl/certs/ca-certificates.crt'.
2024-09-04 13:23:08 +02:00
Harald Hoyer bcf049144c feat(nixos/services): add qemu-system-x86_64-uefi script
Added a custom shell script for qemu-system-x86_64 enabling UEFI support using OVMF. This ensures that the command uses the specified OVMF firmware for UEFI boot.
2024-09-04 13:23:01 +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 4c614b60a1 feat(gui-services): update and organize systemPackages
Add chromium and rustup to systemPackages, and move pcsctools and yubikey-personalization entries. Introduce environment session variable NIXOS_OZONE_WL for better Wayland support.
2024-08-28 14:33:13 +02:00
Harald Hoyer c242a21798 feat(nixos): remove cleanOnBoot option for tmp
The `boot.tmp.cleanOnBoot` option was removed, because it was already enabled.
2024-08-26 10:19: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 7abbe7474f feat(services): enable tmpfs and fstrim services
Enable temporary file storage on tmpfs and configure TMPDIR for the nix-daemon. Also, ensure temporary files are cleaned on boot and enable fstrim service for filesystem maintenance.
2024-08-26 10:13:28 +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 629c69f028 fix: correct indentation in systemPackages list
The alacritty package entry was misaligned in the list of systemPackages. This fix ensures consistent indentation for better readability and maintainability.
2024-07-25 13:53:32 +02:00
Harald Hoyer 7ae6907c2d feat: Move alacritty from tools to systemPackages
This commit shifts the Alacritty terminal emulator from "tools" within the user-level configuration to "systemPackages" under the base services configuration. This change allows global access to Alacritty across the system.
2024-07-19 13:53:33 +02:00