Commit graph

77 commits

Author SHA1 Message Date
Harald Hoyer 6f25c0c2f3 feat(user): add .keep file to git directory
Added a `.keep` file to the `git` directory to ensure its presence in the user's home structure. This aligns with the convention of maintaining stub files for empty directories.
2025-01-10 16:57:12 +01:00
Harald Hoyer 195a721d19 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 16:49:31 +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Harald Hoyer b14804bbf8 feat(darwin suites): enable base in default.nix
This commit enables the 'base' edition in the default.nix configuration file within the Darwin suites module. This update provides the necessary settings for the base installation, enhancing the flexibility of system setup.
2024-07-19 13:28:14 +02:00
Harald Hoyer 5d9518fd1c feat: Add new base service config for Darwin system
This commit introduces a new base configuration for the Darwin service. It includes options for system packages, shell programs and security features. This base configuration is customizable with an enable option.
2024-07-19 13:28:03 +02:00
Harald Hoyer 8202390990 feat: switch to stable nix package in darwin module
This commit modifies the `nix` configuration in the `darwin` module, changing from the unstable `nix` package use to the stable version. This change is intended to improve stability and reliability of the module.
2024-07-19 12:19:28 +02:00
Harald Hoyer 8feaad40a1 refactor: rename 'fonts' to 'packages' in darwin module
This commit renames the 'fonts' array in the darwin system fonts module to 'packages'. The refactor is aimed at improving the code readability and making the name more descriptive and representative of its content.
2024-07-19 12:19:18 +02:00