Add NixOS VM configuration and new media search endpoint
Some checks failed
Test Suite / test (push) Failing after 45s

- Introduced a new NixOS VM configuration in `flake.nix` for testing purposes.
- Updated CI workflow to build the VM using the flake input for a more streamlined process.
- Added a new API endpoint `/search` in the collection API to search owned media by title, with optional filtering by media type.
- Refactored frontend components to utilize the new media search functionality, updating types and state management accordingly.
- Enhanced CSS for the map component to ensure proper rendering in various layouts.
This commit is contained in:
Danilo Reyes
2025-12-28 23:02:48 -06:00
parent 4709a05ad4
commit 1329958b4e
7 changed files with 125 additions and 20 deletions

View File

@@ -16,12 +16,8 @@ jobs:
- name: Build NixOS VM
run: |
# Build the VM configuration using nixos-rebuild
# This creates a VM that can be run with QEMU
nixos-rebuild build-vm \
-I nixos-config=./nix/test-vm.nix \
-I nixpkgs=<nixpkgs> \
-o vm-result
# Build the VM purely via the flake input nixpkgs (no host channels / no <nixpkgs> path)
nix build .#nixosConfigurations.test-vm.config.system.build.vm -o vm-result
- name: Start VM
run: |