Skip to content

Releases: pedrobrantes/dotfiles

v1.3.0

01 Feb 18:23

Choose a tag to compare

πŸ“ Release Notes v1.3.0

πŸš€ Testing Infrastructure & Security (Python Migration)

This release introduces a complete overhaul of the testing system, migrating from Shell Script to Python + Pytest, delivering improved speed and robustness.

  • Mandatory Validation: The switch.sh script now automatically runs the test suite before applying any changes. If tests fail, the deployment is aborted.
  • Test Enforcement: The system now prevents the build if a new module is added to programs/ without a corresponding test file (.py).
  • Performance: The new architecture builds the Nix configuration only once for the entire test session, drastically reducing execution time in CI and locally.
  • Native CI/CD: Replaced the Docker-based pipeline with native Nix GitHub Actions (nix-shell), aligning the CI environment with local development.

✨ New Features & Tools

New packages have been integrated into the environment:

  • nh (Nix Helper): Utility to simplify common Nix commands.
  • Ollama: Tool for running LLMs locally.
  • Magic Wormhole: Secure and easy file transfer (wormhole-rs).
  • OpenSSH: SSH client configuration and installation.

πŸ› Fixes & Improvements

  • CI Compatibility: Added a generic x86_64.linux.desktop target to ensure CI (Ubuntu) can validate the build correctly.
  • fd: Removed redundant alias that conflicted with the binary name.

🚜 Maintenance

  • Renamed nix_tests directory to tests.
  • Updated documentation (README, DEVELOPMENT) to reflect the new Python workflow.

v1.2.0

19 Jan 22:18

Choose a tag to compare

What's Changed

πŸš€ Features & Enhancements

  • Architecture: Registered hierarchical home configurations in flake with machine-specific setups (Desktop/WSL & Smartphone/Android).
  • Nix: Migrated base system to nixos-25.11 and added hybrid channels (unstable/master).
  • Scripts: Added smart environment detection in switch.sh and bootstrap.sh.
  • Android: Implemented custom shell prompt overrides and specific environment handling.
  • Programs:
    • Added Gemini CLI integration.
    • Added GitHub CLI with Delta pager configuration.
    • Added MTR (modern traceroute) and inetutils.
    • Implemented dynamic module imports for the programs/ directory.

πŸ› Fixes

  • Android: Resolved homeless-shelter purity errors and directory permissions.
  • Git: Fixed configuration deprecations and moved aliases to the correct settings block.
  • Packages: Resolved package renaming issues (e.g., dust).

πŸ” Security & Management

  • Secrets: Added SOPS configuration with Bitwarden integration and established a secrets management protocol.
  • Docs: Added documentation for Nix versioning architecture and SOPS management.

πŸ§ͺ Testing

  • Added comprehensive tests for GitHub CLI integration.

Version 1.1.0

29 Sep 00:02

Choose a tag to compare

✨ Features & Improvements

  • Multi-Architecture Support: Added support for aarch64 and x86_64 in flake.nix and automatic detection in the bootstrap script.
  • Program Modularization: Dozens of command-line tools were migrated to individual modules in programs/, each with its own package and aliases, including:
    • eza, ripgrep, fd, bat, duf, doggo
    • zoxide, htop, dust, plocate, hyperfine, iproute2
  • Testing Infrastructure: Added a testing framework for the Nix configuration, with tests for:
    • The bootstrap script.
    • Bash function logic (cp_progress).
    • All new program modules, validating installation and aliases.
  • Bash Config Migration: Aliases and functions from .bashrc were moved into the declarative configuration in programs/bash.nix.
  • Bash-it: Added integration with bash-it.

πŸ“š Documentation

  • Refactored README: Installation instructions were completely rewritten, prioritizing the bootstrap script.
  • Manual Installation Guide: The manual guide was simplified, aligned with the use of Flakes, and moved to a separate section.
  • Android Guide: Added a new section detailing installation on Android via Termux.

πŸ› Fixes

  • Corrected various paths and syntax in the sops and nix modules.