Commit graph

203 commits

Author SHA1 Message Date
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
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